django_ocr_server/models.py
def file_removed(self):
        """
        This function returns True if file was removed 2019-04-05
        :return: boolean True if file was removed
        """
        self.is_saved()  # checking that instance of OCRedFile is saved, raise DoesNotSaved exception otherwise
        if getattr(settings, 'OCR_FILE_REMOVED_LABEL', ocr_default_settings.FILE_REMOVED_LABEL) in self.file.name:
            return True
        return False

        This function returns True if file was removed 2019-04-05
        :return: boolean True if file was removed
        
This function returns True if file was removed 2019-04-05
This function returns True if file was removed 2019 - 04 - 05
def file_removed(self):
        self.is_saved()  
        if getattr(settings, 'OCR_FILE_REMOVED_LABEL', ocr_default_settings.FILE_REMOVED_LABEL) in self.file.name:
            return True
        return False
def file_removed ( self ) : self . is_saved ( ) if getattr ( settings , 'OCR_FILE_REMOVED_LABEL' , ocr_default_settings . FILE_REMOVED_LABEL ) in self . file . name : return True return False
This function returns True if file was removed 2019-04-05
This function returns True if file was removed 2019 - 04 - 05
"""
        This function returns True if file was removed 2019-04-05
        :return: boolean True if file was removed
        """ # checking that instance of OCRedFile is saved, raise DoesNotSaved exception otherwise
boolean True if file was removed
boolean True if file was removed
self