code: def is_python(cell):
      """Checks if the cell consists of Python code."""
      return (
          cell["cell_type"] == "code"  # code cells only
          and cell["source"]  # non-empty cells
          and not cell["source"][0].startswith("%%")
      )
  
file_path: tensorflow/tensorflow/tools/compatibility/ipynb.py
imports: import collections
  import copy
  import json
  import re
  import shutil
  import tempfile
label_desc: Use image node_id 1 for calling a global function with example usage: is_python(cell) and returns: unknown