def is_binary(self, subpath=None):
        """
        Gets whether the specified subpath is a supported binary file.
        """
        mimetype = self.mimetype_for(subpath)
        return mimetype is not None and mimetype.startswith('image/')
def is_binary ( self , subpath = None ) : mimetype = self . mimetype_for ( subpath ) return mimetype is not None and mimetype . startswith ( 'image/' )
Gets whether the specified subpath is a supported binary file.