code: def is_plot(obj):
      is_str_ = is_str(obj)
  
      if is_str_ or isinstance(obj, dict):
          if is_str_:
              obj_ = json_loads(obj)
          else:
              obj_ = obj
  
          if obj_:
              return "class" in obj_ and "version" in obj_
          else:
              return False
      else:
          return False
  
imports: from collections.abc import Mapping
  from uuid import uuid4
  import sqlite3
  import json
  import importlib
  import pandas
  from jinja2 import Template
  from sklearn_evaluation.table import Table
  from sklearn_evaluation.report.serialize import try_serialize_figures, figure2html
  from sklearn_evaluation.telemetry import SKLearnEvaluationLogger
  from sklearn_evaluation.nb.NotebookCollection import add_compare_tab, tabs_html_from_content, HTMLMapping
  from sklearn_evaluation import plot
label_desc: Use image node_id 4 for calling a global function with example usage: is_plot(obj) and returns: False, unknown, False