code: def can_be_removed(self, node: OptNode) -> RemoveType:
      operation_id = node.content["name"]
      if "exog_ts" in operation_id:
          return RemoveType.forbidden
      if "custom" in operation_id or "lagged" in operation_id:
          return RemoveType.with_parents
      if "data_source" in operation_id:
          return RemoveType.with_direct_children
      return RemoveType.node_rewire
  
file_path: FEDOT/fedot/core/pipelines/pipeline_advisor.py
imports: from typing import List
  from golem.core.optimisers.advisor import DefaultChangeAdvisor, RemoveType
  from golem.core.optimisers.graph import OptNode
  from fedot.core.repository.operation_types_repository import get_operations_for_task
label_desc: Use image node_id 2 for calling the PipelineChangeAdvisor obj's underlying member method code with example usage: obj.can_be_removed(node) and returns: RemoveType, RemoveType, RemoveType, RemoveType