code: def _is_valid_modname(mod_name):
      """Determine if mod_name is a valid string to use inside function names"""
      if mod_name:
          try:
              mod_name.encode("ascii")
              return True
          except UnicodeEncodeError:
              return False
  
      return True
  
imports: from enum import Enum
label_desc: Use image node_id 1 for calling a global function with example usage: _is_valid_modname(mod_name) and returns: True, True, False