def _is_comparable_to(self, other):
    """
    Check whether `other` is comparable to `self`.
    """
    for func in self._requirements:
        if not func(self, other):
            return False
    return True

    Check whether `other` is comparable to `self`.
    
product/gradle-plugin/src/main/python/attr/_cmp.py