code: def has_no_conflicts_during_multitask(pipeline: Pipeline):
      """
      Now if the classification task is solved, one part of the pipeline can solve
      the regression task if used after class_decompose. If class_decompose is followed
      by a classification operation, then this pipelining is incorrect.
      Validation perform only for classification pipelines.
      """
  
      classification_operations = get_operations_for_task(
          task=Task(TaskTypesEnum.classification), mode="all"
      )
      pipeline_operations = [
          node.operation.operation_type for node in pipeline.nodes
      ]
      pipeline_operations = set(pipeline_operations)
  
      number_of_unique_pipeline_operations = len(pipeline_operations)
      pipeline_operations_for_classification = set(
          classification_operations
      ).intersection(pipeline_operations)
  
      if len(pipeline_operations_for_classification) == 0:
          return True
  
      if "class_decompose" not in pipeline_operations:
          # There are no decompose operations in the pipeline
          if number_of_unique_pipeline_operations != len(
              pipeline_operations_for_classification
          ):
              # There are operations in the pipeline that solve different tasks
              __check_multitask_operation_location(
                  pipeline, classification_operations
              )
  
      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 14 for calling a global function with example usage: has_no_conflicts_during_multitask(pipeline) and returns: True, True