def equivalent_to(binding, cls):
    """Whether binding.data is equivalent to cls, modulo parameterization."""
    return binding.data.isinstance_Class(
        ) and binding.data.full_name == cls.full_name
