def is_valid_value(self, value):
        """
        Returns True if given value is valid for this property.
        """
        if self.is_number_field:
            try:
                float(value)
            except __HOLE__:
                return False
        return True
dataset/ETHPy150Open diefenbach/django-lfs/lfs/catalog/models.py/Property.is_valid_value