code: def is_numpy_number_dtype(dtype):
      if (
          not isclass(dtype)
          and isinstance(dtype, np.dtype)
          and np_str_obj_array_pattern.search(dtype.str) is None
      ):
          return True
      return False
  
file_path: fastNLP/fastNLP/core/collators/padders/utils.py
imports: from typing import Sequence, List
  import re
  from inspect import isclass
  import numpy
label_desc: Use image node_id 6 for calling a global function with example usage: is_numpy_number_dtype(dtype) and returns: False, True