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