Add DissimilarityMatrix.__contains__