code: def _is_node_fitted(node: PipelineNode) -> bool:
      return bool(node.fitted_operation)
  
imports: import os
  from abc import ABC, abstractmethod
  from io import BytesIO
  from typing import Any, Optional, Union
  import joblib
  import numpy
  from golem.core.log import default_log
  from fedot.core.pipelines.node import PipelineNode
label_desc: Use image node_id 4 for calling a global function with example usage: _is_node_fitted(node) and returns: bool