is_empty property

is_empty property

The value indicating whether the instance is empty.

True if the instance is empty (all fields are False); otherwise, False.

Definition:

@property
def is_empty(self):
    ...

See Also