.contains in string p code example Example: str contains python if not somestring.contains("blah"): continue