def METHOD_NAME(self, item, check_not_on_or_after=True):
    """Get session information about a subject gotten from a
    specified IdP/AA.
    :param item: Information stored
    :return: The session information as a dictionary
    """
    try:
        (timestamp, info) = item
    except ValueError:
        raise TooOld()
    if check_not_on_or_after and not time_util.not_on_or_after(timestamp):
        raise TooOld()
    return info or None