Queries whether an entry is contained in the blocklist in Optimizely Campaign.
This method queries only exact matches.
If, for example, "*@example.com" is contained in the blocklist and you query [email protected] using this method, false is returned. If you query @example.com, true is returned. To a query both exact matches as well as wildcards, use the isBlacklisted method.
|sessionId||String||ID of the session|
|entry||String||Entry to be queried|
- true: Entry is contained in the blocklist
- false: Entry is not contained in the blocklist
boolean contains(String sessionId, String entry)
Updated about 1 year ago