bool hasQuery

Returns whether the URI has a query part.