code: def find_parenthesis_content(
      source: str, prefix: str
  ) -> Optional[str]:
      r"""Returns the content of :obj:`{prefix}.*(...)` within :obj:`source`."""
      match = re.search(prefix, source)
      if match is None:
          return None
  
      offset = source[match.start() :].find("(")
      if offset < 0:
          return None
  
      source = source[match.start() + offset :]
  
      depth = 0
      for end, char in enumerate(source):
          if char == "(":
              depth += 1
          if char == ")":
              depth -= 1
          if depth == 0:
              content = source[1:end]
              # Properly handle line breaks and multiple white-spaces:
              content = content.replace("\n", " ")
              content = content.replace("#", " ")
              content = re.sub(" +", " ", content)
              content = content.strip()
              return content
  
      return None
  
imports: import inspect
  import re
  import sys
  import typing
  from typing import Any, Callable, Dict, List, NamedTuple, Optional, Type, Union
  from torch import Tensor
label_desc: Use image node_id 1 for calling a global function with example usage: find_parenthesis_content(source, prefix) and returns: None, None, None, content