You can put it on `Query` and have `hasQueryChanged` method.