code: def safe_is_pandas_categorical_dtype(dt):
      if not have_pandas_categorical_dtype:
          return False
      return _pandas_is_categorical_dtype(dt)
  
imports: import sys
  import numpy
  import six
  from six.moves import cStringIO
  from .compat import optional_dep_ok
label_desc: Use image node_id 28 for calling a global function with example usage: safe_is_pandas_categorical_dtype(dt) and returns: _pandas_is_categorical_dtype, False