(self)
return (self.content_type or "").startswith("image/")
Use content type to check if blob is an image
Use content type to check if blob is an image
Use content type to check if blob is an image
def is_image(self):
        """Use content type to check if blob is an image"""
        return (self.content_type or "").startswith("image/")
def is_image ( self ) : return ( self . content_type or "" ) . startswith ( "image/" )