code: def is_content_dict(d):
      return "parts" in d
  
imports: from __future__ import annotations
  from collections.abc import Iterable, Mapping
  import io
  import mimetypes
  import pathlib
  import typing
  from typing import Any, TypedDict, Union
  from google.ai import generativelanguage
label_desc: Use image node_id 8 for calling a global function with example usage: is_content_dict(d) and returns: unknown