@classmethod
def constraint_is_method(cls, text):
    """Check from the text of the constraint whether it is
        a Python method, as opposed to a 'normal' constraint.

        :return: True if it is, False if not
        """
    m = cls._PATTERN.match(text)
    return m is not None
