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