code: def get_value_from_session(key):
      
      def value_from_session_function(service, message):
          """Actual implementation of get_value_from_session function.
  
          :param service: SelenolService object.
          :param message: SelenolMessage request.
          """
          return _get_value(message.session, key)
      return value_from_session_function
docs: Get a session value from the path specifed.
  
      :param key: Array that defines the path of the value inside the message.