結果 : check if string contains dictionary key python