def check_empty_datastore(self) -> None:
    filter_ = FilterOperator('id', '>=', 1)
    if self.datastore.exists(Collection('organization'), filter_, DeletedModelsBehaviour.ALL_MODELS, False):
        raise ActionException('Datastore is not empty.')
def check_empty_datastore(self) -> None:
    filter_ = FilterOperator('id', '>=', 1)
    if self.datastore.exists(Collection('organization'), filter_, DeletedModelsBehaviour.ALL_MODELS, False):
        raise ActionException('Datastore is not empty.')