(self)
return bool(self.options.get('hashes', {}))
Return whether any known-good hashes are specified as options.

        These activate --require-hashes mode; hashes specified as part of a
        URL do not.
Return whether any known-good hashes are specified as options.
Return whether any known - good hashes are specified as options .
def has_hash_options(self):
        # type: () -> bool
        """Return whether any known-good hashes are specified as options.

        These activate --require-hashes mode; hashes specified as part of a
        URL do not.

        """
        return bool(self.options.get('hashes', {}))
def has_hash_options ( self ) : # type: () -> bool return bool ( self . options . get ( 'hashes' , { } ) )