code: def is_missing(data, missing_value):
      """
      Generic is_missing function that handles NaN and NaT.
      """
      if is_float(data) and isnan(missing_value):
          return isnan(data)
      elif is_datetime(data) and isnat(missing_value):
          return isnat(data)
      return data == missing_value
  
imports: from collections import OrderedDict
  from datetime import datetime
  from warnings import catch_warnings, filterwarnings
  import numpy
  from numpy import broadcast, busday_count, datetime64, diff, dtype, empty, flatnonzero, hstack, isnan, nan, vectorize, where
  from numpy.lib.stride_tricks import as_strided
  from toolz import flip
label_desc: Use image node_id 11 for calling a global function with example usage: is_missing(data, missing_value) and returns: unknown, isnan, isnat