def METHOD_NAME(self):
    checker = TypeChecker({"two": equals_2})
    self.assertEqual(
        (
            checker.is_type(instance=2, type="two"),
            checker.is_type(instance="bar", type="two"),
        ),
        (True, False),
    )