code: def _isstring(dtype):
      
      return dtype.type == numpy.unicode_ or dtype.type == numpy.string_
docs: Given a numpy dtype, determines whether it is a string. Returns True
      if the dtype is string or unicode.