code: def has_no_conflicts_in_decompose(pipeline: Pipeline):
      """The function checks whether the 'class_decompose' or 'decompose' operation has two ancestors"""
  
      for decomposer in ["decompose", "class_decompose"]:
          decompose_nodes = pipeline.get_nodes_by_name(decomposer)
          if len(decompose_nodes) != 0:
              # Launch check decomposers
              __check_decomposer_has_two_parents(
                  nodes_to_check=decompose_nodes
              )
              __check_decompose_parent_position(
                  nodes_to_check=decompose_nodes
              )
  
      return True
  
imports: from typing import Optional
  from fedot.core.operations.atomized_model import AtomizedModel
  from fedot.core.operations.model import Model
  from fedot.core.pipelines.node import PipelineNode
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot.core.repository.dataset_types import DataTypesEnum
  from fedot.core.repository.operation_types_repository import OperationTypesRepository, get_operations_for_task, atomized_model_type
  from fedot.core.repository.tasks import Task, TaskTypesEnum
label_desc: Use image node_id 11 for calling a global function with example usage: has_no_conflicts_in_decompose(pipeline) and returns: True