code: def query_scene_loaded(cli, scene_name):
      
  
      message_payload = {
          "scene_name": scene_name
      }
      msg = message.Message("query.unity.scene.loaded", message_payload)
      cli.send_message(msg)
  
      response = cli.read_message()
      verify_response(response)
      return bool(response['payload']['result'])
docs: Requests status on whether a scene is loaded or not.
      :param cli:
      :param scene_name:
      :return: bool