code: def _contains_standalone_comment(node: LN) -> bool:
      if isinstance(node, Leaf):
          return node.type == STANDALONE_COMMENT
      else:
          for child in node.children:
              if _contains_standalone_comment(child):
                  return True
          return False
  
imports: import difflib
  from dataclasses import dataclass
  from typing import Collection, Iterator, List, Sequence, Set, Tuple, Union
  from black.nodes import LN, STANDALONE_COMMENT, Leaf, Node, Visitor, first_leaf, furthest_ancestor_with_last_leaf, last_leaf, syms
  from blib2to3.pgen2.token import ASYNC, NEWLINE
label_desc: Use image node_id 5 for calling a global function with example usage: _contains_standalone_comment(node) and returns: unknown, False, True