'Returns the status of assertions from a specific entity_id.
:param subject_id: The ID of the subject
:param entity_id: The entity ID of the entity_id of the assertion
:return: True or False depending on if the assertion is still
valid or not.'

def active(self, subject_id, entity_id):

    try:
        (timestamp, info) = self._cache.get(_key(subject_id, entity_id))
    except ValueError:
        return False
    except TypeError:
        return False
    try:
        return time_util.not_on_or_after(timestamp)
    except ToOld:
        return False
