code: def _is_defined_type(typename):
      return not _is_introspection_type(
          typename
      ) and not _is_builtin_scalar(typename)
  
imports: from ..language.printer import print_ast
  from ..type.definition import GraphQLEnumType, GraphQLInputObjectType, GraphQLInterfaceType, GraphQLObjectType, GraphQLScalarType, GraphQLUnionType
  from ..type.directives import DEFAULT_DEPRECATION_REASON
  from .ast_from_value import ast_from_value
label_desc: Use image node_id 4 for calling a global function with example usage: _is_defined_type(typename) and returns: unknown