code: def _is_model(node):
      return isinstance(node.step, Model)
  
file_path: baikal/baikal/plot.py
imports: import io
  import os
  from typing import Optional
  from baikal import Model
  from baikal._core.utils import make_name, safezip2
label_desc: Use image node_id 1 for calling a global function with example usage: _is_model(node) and returns: isinstance