code: def is_atom_with_invisible_parens(node: LN) -> bool:
      """Given a `LN`, determines whether it's an atom `node` with invisible
      parens. Useful in dedupe-ing and normalizing parens.
      """
      if isinstance(node, Leaf) or node.type != syms.atom:
          return False
  
      first, last = node.children[0], node.children[-1]
      return (
          isinstance(first, Leaf)
          and first.type == token.LPAR
          and first.value == ""
          and isinstance(last, Leaf)
          and last.type == token.RPAR
          and last.value == ""
      )
  
imports: import sys
  from typing import Final, Generic, Iterator, List, Optional, Set, Tuple, TypeVar, Union
  from mypy_extensions import mypyc_attr
  from black.cache import CACHE_DIR
  from black.mode import Mode, Preview
  from black.strings import get_string_prefix, has_triple_quotes
  from blib2to3 import pygram
  from blib2to3.pgen2 import token
  from blib2to3.pytree import NL, Leaf, Node, type_repr
label_desc: Use image node_id 26 for calling a global function with example usage: is_atom_with_invisible_parens(node) and returns: unknown, False