dictionary membership testing