def value_from_datadict(self, data, files, name):
        upload = super(CustomClearableFileInput, self).value_from_datadict(
            data,
            files,
            name
        )

        if not self.is_required and CheckboxInput().value_from_datadict(
                data,
                files,
                self.clear_checkbox_name(name)):
            # If the user contradicts themselves (uploads a new file AND checks
            # the "clear" checkbox), we return a unique marker object that
            # FileField will turn into a ValidationError. False signals to
            # clear any existing value, as opposed to just None
            return FILE_INPUT_CONTRADICTION if upload else False
        # Return the uploaded file or figure out the name of the hidden field
        # which holds the existant filename (if one exists)  If that hidden
        # field is in the widget, pass the file path of that file on, defaults
        # to None
        return upload and data.get(self.initial_filename_name(name), None)
dataset/ETHPy150Open WGBH/django-multilingualfield/multilingualfield/widgets.py/CustomClearableFileInput.value_from_datadict/operator `or` -> `and`