check if the string contains the substring
bool contains(String str, substring) { return str.contains(substring); }