def check_ipv4(self, value):
        parts = value.split('.')
        if len(parts) == 4 and all(x.isdigit() for x in parts):
            numbers = list(int(x) for x in parts)
            return all(num >= 0 and num < 256 for num in numbers)
        return False
dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/wtforms/validators.py/IPAddress.check_ipv4/original