@property
    def is_file(self):
        return self.type in [self.FILE, self.IMAGE]
dataset/ETHPy150Open django-oscar/django-oscar/src/oscar/apps/catalogue/abstract_models.py/AbstractProductAttribute.is_file/original