def is_marked_deleted(self, entity):
        """
        Checks if the given entity is marked with status DELETED. Returns
        `False` if the entity has no state information.
        """
        try:
            result = EntityState.get_state(entity).status \
                                                    == ENTITY_STATUS.DELETED
        except ValueError:
            result = False
        return result
Checks if the given entity is marked with status DELETED. Returns
        `False` if the entity has no state information.