def METHOD_NAME(self, cset1, cset2):
    if not isinstance(cset1, contentsSet):
        cset1 = contentsSet(cset1)
    if not isinstance(cset2, contentsSet):
        cset2 = contentsSet(cset2)
    assert cset1 == cset2