Use #has to check current URL?

For future reference:
The best solution is most likely building your own helper:

WARNING:
For most managed hosting solution you will likely not be able to change the ‘known_helpers’ array in GSCAN module.