code: def test_inherit_parent_custom_properties(self):
      lit_type = types.TokenSalience(autorun=True, signed=True)
      self.assertIsNone(lit_type.default)
  
      lit_type = types.TokenGradients(
          grad_for="cls_emb", grad_target_field_key="grad_class"
      )
      self.assertTrue(hasattr(lit_type, "align"))
      self.assertFalse(hasattr(lit_type, "not_a_property"))
  
imports: from collections.abc import Callable
  import os
  from typing import Any, Optional, Union
  from absl.testing import absltest
  from absl.testing import parameterized
  from etils import epath
  from lit_nlp.api import dtypes
  from lit_nlp.api import types
  import numpy
label_desc: Use image node_id 4 for calling the TypesTest obj's underlying member method code with example usage: obj.test_inherit_parent_custom_properties() without return types