django_ocr_server/models.py
def can_remove_file(self):
        """
        This function returns True if it is possible to remove self.file 2019-03-24
        :return: boolean True if it is possible to remove self.file
        """
        self.is_saved()  # checking that instance of OCRedFile is saved, raise DoesNotSaved exception otherwise
        if os.path.isfile(self.file.path):
            return True
        return False

        This function returns True if it is possible to remove self.file 2019-03-24
        :return: boolean True if it is possible to remove self.file
        
This function returns True if it is possible to remove self.file 2019-03-24
This function returns True if it is possible to remove self . file 2019 - 03 - 24
def can_remove_file(self):
        self.is_saved()  
        if os.path.isfile(self.file.path):
            return True
        return False
def can_remove_file ( self ) : self . is_saved ( ) if os . path . isfile ( self . file . path ) : return True return False
This function returns True if it is possible to remove self.file 2019-03-24
This function returns True if it is possible to remove self . file 2019 - 03 - 24
"""
        This function returns True if it is possible to remove self.file 2019-03-24
        :return: boolean True if it is possible to remove self.file
        """ # checking that instance of OCRedFile is saved, raise DoesNotSaved exception otherwise
boolean True if it is possible to remove self.file
boolean True if it is possible to remove self . file
self