code: def _is_safe_ident(cls, ident):
      return (
          isinstance(ident, str)
          and ident.isidentifier()
          and not keyword.iskeyword(ident)
      )
  
imports: from __future__ import annotations
  from typing import Any
  import builtins
  import inspect
  import keyword
  import textwrap
  import linecache
  from sympy.external import import_module
  from sympy.utilities.exceptions import sympy_deprecation_warning
  from sympy.utilities.decorator import doctest_depends_on
  from sympy.utilities.iterables import is_sequence, iterable, NotIterable, flatten
  from sympy.utilities.misc import filldedent
label_desc: Use image node_id 3 for calling the _EvaluatorPrinter obj's underlying member method code with example usage: obj._is_safe_ident(cls, ident) and returns: unknown