Version: 2018.2
public bool HasSelection ();

Description

Returns true if the TreeView has a selection.