code: def submit(self, function, *args, **kwargs):
      if not ray.is_initialized():
          raise ExecutorClosed()
  
      remote_g = ray.remote(function)
      return _Future(remote_g.remote(*args, **kwargs))
  
imports: import logging
  import traceback
  from orion.core.utils.module_import import ImportOptional
  from orion.executor.base import AsyncException, AsyncResult, BaseExecutor, ExecutorClosed, Future
label_desc: Use image node_id 5 for calling the Ray obj's underlying member method code with example usage: obj.submit(function) and returns: _Future