def METHOD_NAME(self, pattern):
    """ Set have unordered values. """
    if not isinstance(self.node, Set):
        return False
    if len(pattern.elts) > MAX_UNORDERED_LENGTH:
        raise DamnTooLongPattern("Pattern for Set is too long")
    return any(self.check_list(self.node.elts, pattern_elts)
               for pattern_elts in permutations(pattern.elts))