Version: 2017.3
public bool focused ;

설명

This value is true only when the TreeView has keyboard focus and the TreeView's window has focus.