'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):

    item = self._cache.find_one({'subject_id': subject_id, 'entity_id': entity_id})
    try:
        return time_util.not_on_or_after(item['timestamp'])
    except ToOld:
        return False
