This version of Unity is unsupported.

EditorWindow.docked

public bool docked;

Description

Returns true if EditorWindow is docked.