class_docstr: Responsible for launching a python executor.
  
  The executor will be launched in the same process of the rest of the
  component, i.e. its driver and publisher.
class_docstr_tok: ["Responsible","for","launching","a","python","executor",".","The","executor","will","be","launched","in","the","same","process","of","the","rest","of","the","component",",","i.e",".","its","driver","and","publisher","."]
docstr: Checks if the launcher can launch the executor spec.
docstr_tok: ["Checks","if","the","launcher","can","launch","the","executor","spec","."]
code: def can_launch(
      cls,
      component_executor_spec: executor_spec.ExecutorSpec,
      component_config: base_component_config.BaseComponentConfig,
  ) -> bool:
      """Checks if the launcher can launch the executor spec."""
      if component_config:
          return False
  
      return isinstance(
          component_executor_spec, executor_spec.ExecutorClassSpec
      )
  
file_path: tfx/tfx/orchestration/launcher/in_process_component_launcher.py
imports: import copy
  import os
  from typing import Any, Dict, List, cast
  from tfx import types
  from tfx.dsl.components.base import base_beam_executor
  from tfx.dsl.components.base import base_executor
  from tfx.dsl.components.base import executor_spec
  from tfx.orchestration.config import base_component_config
  from tfx.orchestration.launcher import base_component_launcher
label_desc: Use image node_id 1 for calling the InProcessComponentLauncher obj's underlying member method code with example usage: obj.can_launch(cls, component_executor_spec, component_config) and returns: isinstance, False