code: def find_cell_with_tag(cells, tag):
      for cell in cells:
          if (
              "metadata" in cell
              and "tags" in cell["metadata"]
              and tag in cell["metadata"]["tags"]
          ):
              return cell
  
imports: import base64
  from collections.abc import Mapping
  import ast
  import parso
  import pandas
  import nbformat
  from IPython.display import Image, HTML
label_desc: Use image node_id 8 for calling a global function with example usage: find_cell_with_tag(cells, tag) and returns: cell