class_docstr: Interface for service job manager.
  
  Service jobs are long-running jobs associated with a node or a pipeline that
  persist across executions (eg: worker pools, Tensorboard, etc). Service jobs
  should be started before the nodes that depend on them can be run.
class_docstr_tok: ["Interface","for","service","job","manager",".","Service","jobs","are","long-running","jobs","associated","with","a","node","or","a","pipeline","that","persist","across","executions","(","eg",":","worker","pools",",","Tensorboard",",","etc",")",".","Service","jobs","should","be","started","before","the","nodes","that","depend","on","them","can","be","run","."]
docstr: Stops service jobs (if any) associated with the node.
  
  Note that this method will only be called if either `is_pure_service_node`
  or `is_mixed_service_node` return `True` for the node.
  
  Args:
    pipeline_state: A `PipelineState` object for an active pipeline.
    node_id: Id of the node to stop services.
  
  Returns:
    `True` if the operation was successful, `False` otherwise.
docstr_tok: ["Stops","service","jobs","(","if","any",")","associated","with","the","node",".","Note","that","this","method","will","only","be","called","if","either","`","is_pure_service_node","`","or","`","is_mixed_service_node","`","return","`","True","`","for","the","node",".","Args",":","pipeline_state",":","A","`","PipelineState","`","object","for","an","active","pipeline",".","node_id",":","Id","of","the","node","to","stop","services",".","Returns",":","`","True","`","if","the","operation","was","successful",",","`","False","`","otherwise","."]
code: def stop_node_services(
      self, pipeline_state: pstate.PipelineState, node_id: str
  ) -> bool:
      """Stops service jobs (if any) associated with the node.
  
      Note that this method will only be called if either `is_pure_service_node`
      or `is_mixed_service_node` return `True` for the node.
  
      Args:
        pipeline_state: A `PipelineState` object for an active pipeline.
        node_id: Id of the node to stop services.
  
      Returns:
        `True` if the operation was successful, `False` otherwise.
      """
  
imports: import abc
  import dataclasses
  import enum
  from typing import Optional
  from absl import logging
  from tfx.orchestration.experimental.core import pipeline_state
label_desc: Use image node_id 2 for calling the ServiceJobManager obj's underlying member method code with example usage: obj.stop_node_services(pipeline_state, node_id) without return types