(self, require=False)
return validators.query_is_valid(self.query, require)
Determine if the query component is valid.

        .. deprecated:: 1.1.0

            Use the :class:`~rfc3986.validators.Validator` object instead.

        :param str require: Set to ``True`` to require the presence of this
            component.
        :returns: ``True`` if the query is valid. ``False`` otherwise.
        :rtype: bool
Determine if the query component is valid.
Determine if the query component is valid .
def query_is_valid(self, require=False):
        """Determine if the query component is valid.

        .. deprecated:: 1.1.0

            Use the :class:`~rfc3986.validators.Validator` object instead.

        :param str require: Set to ``True`` to require the presence of this
            component.
        :returns: ``True`` if the query is valid. ``False`` otherwise.
        :rtype: bool
        """
        warnings.warn("Please use rfc3986.validators.Validator instead. "
                      "This method will be eventually removed.",
                      DeprecationWarning)
        return validators.query_is_valid(self.query, require)
def query_is_valid ( self , require = False ) : warnings . warn ( "Please use rfc3986.validators.Validator instead. " "This method will be eventually removed." , DeprecationWarning ) return validators . query_is_valid ( self . query , require )