@property
def enabled(self) -> bool:
    'Return if the entity is enabled in the entity registry.\n\n        If an entity is not part of the registry, it cannot be disabled\n        and will therefore always be enabled.\n        '
    return ((self.registry_entry is None) or (not self.registry_entry.disabled))
Return if the entity is enabled in the entity registry.

If an entity is not part of the registry, it cannot be disabled
and will therefore always be enabled.
@property
def enabled(self) -> bool:
    'Return if the entity is enabled in the entity registry.\n\n        If an entity is not part of the registry, it cannot be disabled\n        and will therefore always be enabled.\n        '
    return ((self.registry_entry is None) or (not self.registry_entry.disabled))