code: def close_session():
          
          for prop in LTI_PROPERTY_LIST:
              if session.get(prop, None):
                  del session[prop]
          session[LTI_SESSION_KEY] = False
docs: Invalidates session