code: def test_nat():
      primitive_instance = IsFederalHoliday()
      primitive_func = primitive_instance.get_function()
      case = pd.Series(
          [
              "2019-10-14",
              "NaT",
              "2016-02-29",
              "NaT",
          ],
      ).astype("datetime64[ns]")
      answer = pd.Series([True, np.nan, False, np.nan])
      given_answer = pd.Series(primitive_func(case))
      assert given_answer.equals(answer)
  
file_path: featuretools/featuretools/tests/primitive_tests/transform_primitive_tests/test_is_federal_holiday.py
imports: from datetime import datetime
  import numpy
  import pandas
  from pytest import raises
  from featuretools.primitives import IsFederalHoliday
label_desc: Use image node_id 2 for calling a global function with example usage: test_nat() without return types