parameters: (session, fabricate_proxy_requests=False)
docstring: Function to verify that a session looks complete.
  
          A valid session contains a valid list of transactions.
  
      Args:
          transaction (json object)
          fabricate_proxy_requests (bool) Whether the post-processor should
            fabricate proxy requests if they don't exist because the proxy served
            the response locally.
  
      Raises:
          VerifyError if there is a problem with the session.
docstring_summary: Function to verify that a session looks complete.
docstring_tokens: Function to verify that a session looks complete .
function: def verify_session(session, fabricate_proxy_requests=False):
      """ Function to verify that a session looks complete.
  
          A valid session contains a valid list of transactions.
  
      Args:
          transaction (json object)
          fabricate_proxy_requests (bool) Whether the post-processor should
            fabricate proxy requests if they don't exist because the proxy served
            the response locally.
  
      Raises:
          VerifyError if there is a problem with the session.
      """
      if not session:
          raise VerifySessionError('Session not found.')
      if "transactions" not in session or not session["transactions"]:
          raise VerifySessionError('No transactions found in session.')
      for transaction in session["transactions"]:
          verify_transaction(transaction, fabricate_proxy_requests)
function_tokens: def verify_session ( session , fabricate_proxy_requests = False ) : if not session : raise VerifySessionError ( 'Session not found.' ) if "transactions" not in session or not session [ "transactions" ] : raise VerifySessionError ( 'No transactions found in session.' ) for transaction in session [ "transactions" ] : verify_transaction ( transaction , fabricate_proxy_requests )