code: def _get_info(self, item, check_not_on_or_after=True):
          
          timestamp = item["timestamp"]
  
          if check_not_on_or_after and not time_util.not_on_or_after(timestamp):
              raise ToOld()
  
          try:
              return item["info"]
          except KeyError:
              return None
docs: Get session information about a subject gotten from a
          specified IdP/AA.
  
          :param item: Information stored
          :return: The session information as a dictionary