Returns whether or not the geometry has a label. This method replaces the deprecated hasName() method.
bool
Returns True if the geometry has a label and False otherwise.
True
False