def METHOD_NAME(self, name_id, entity_id):
    """Returns the status of assertions from a specific entity_id.
    :param name_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.
    """
    try:
        cni = code(name_id)
        (timestamp, info) = self._db[cni][entity_id]
    except KeyError:
        return False
    if not info:
        return False
    else:
        return time_util.not_on_or_after(timestamp)