Plank.DockItem.is_valid – plank Reference Manual
is_valid
Description:
public
virtual
bool
is_valid
()
Check the validity of this item.
Returns:
Whether or not this item is valid for the .dockitem given