def _contains(self, element):
        try:
            if len(element) != len(self.args):
                return false
        except TypeError:  # maybe element isn't an iterable
            return false
        return And(*
            [set.contains(item) for set, item in zip(self.sets, element)])
This creates and returns a ready-to-go TorConfig instance from the
dataset/ETHPy150Open sympy/sympy/sympy/sets/sets.py/ProductSet._contains--crossover with--dataset/ETHPy150Open meejah/txtorcon/txtorcon/torconfig.py/TorConfig.from_protocol