結果 : check if a string contains a set of characters python