code: def test_regular():
      primitive_instance = IsFederalHoliday()
      primitive_func = primitive_instance.get_function()
      case = pd.Series(
          [
              "2016-01-01",
              "2016-02-29",
              "2017-05-29",
              datetime(2019, 7, 4, 10, 0, 30),
          ],
      ).astype("datetime64[ns]")
      answer = pd.Series([True, False, True, True])
      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 1 for calling a global function with example usage: test_regular() without return types