code: def from_nbnode(value):
      """Recursively convert NotebookNode to dict."""
      if isinstance(value, nbf.NotebookNode):
          return {k: from_nbnode(v) for k, v in value.items()}
      return value
  
imports: import json
  import re
  import warnings
  from textwrap import dedent
  import nbformat
  import yaml
  from .cell_to_text import three_backticks_or_more
label_desc: Use image node_id 10 for calling a global function with example usage: from_nbnode(value) and returns: value, unknown