code: def test_arg_init(self):
      primitive_ = self.primitive()
      # determine the optional arguments in the __init__
      init_params = signature(self.primitive.__init__)
      for name, parameter in init_params.parameters.items():
          if parameter.default is not parameter.empty:
              assert hasattr(primitive_, name)
  
file_path: featuretools/featuretools/tests/primitive_tests/utils.py
imports: from inspect import signature
  import pytest
  from featuretools import FeatureBase, calculate_feature_matrix, dfs, encode_features, list_primitives, load_features, save_features
  from featuretools.primitives.base import AggregationPrimitive, PrimitiveBase
  from featuretools.tests.testing_utils import make_ecommerce_entityset
label_desc: Use image node_id 4 for calling the PrimitiveTestBase obj's underlying member method code with example usage: obj.test_arg_init() without return types