How to exclude single URL page with helpers

Tried #has and ^has but they seems to work only with tags?

How we can exclude a single page using helpers? Maybe with URL and mixing it with another conditional?