code: def raster_field(self):
          
          for field in self.model._meta.fields:
              if isinstance(field, models.FileField):
                  return field
          return False
docs: Returns the raster FileField instance on the model.