@classmethod
    def isTelephone(cls, value, country = 'nl'):
        if not value:
            return False
        return re.findall(cls.TELEPHONEPATTERNS[country], value) != []
Test if the value is a valid telephone number
dataset/ETHPy150Open petrvanblokland/Xierpa3/xierpa3/toolbox/parsers/validator.py/Validator.isTelephone