def create_domain(self, name, ip_type=None, delegated=False):
        if ip_type is None:
            ip_type = '4'
        if ('arpa', 'in-addr.arpa', 'ip6.arpa') in name:
            pass
        else:
            name = ip_to_domain_name(name, ip_type=ip_type)
        d = Domain(name=name, delegated=delegated)
        d.clean()
        self.assertTrue(d.is_reverse)
        return d
dataset/ETHPy150Open mozilla/inventory/core/registration/static/tests/basic.py/StaticRegTests.create_domain/swapped operands of `in`