Added the hasQueryParameters method.