Plank.DockElement.can_be_removed – plank Reference Manual
can_be_removed
Description:
public
virtual
bool
can_be_removed
()
Returns if this item can be removed from the dock.
Returns:
if this item can be removed from the dock