Check does it contains preferred OSString in literial.
bool containsByString(String str) { return lookupByString(str) != null; }