def do_no_tagged(self, *args):
        port = self.switch_configuration.get_port_by_partial_name(" ".join(args))
        if port is not None:
            if port.trunk_vlans is None or port.trunk_vlans not in self.vlan.number:
                self.write_line("Error: ports ethe {} are not tagged members of vlan {}".format(args[1], self.vlan.number))
                return

            port.trunk_vlans.remove(self.vlan.number)
            if len(port.trunk_vlans) == 0:
                port.trunk_vlans = None
                if port.trunk_native_vlan and port.trunk_native_vlan != 1:
                    port.access_vlan = port.trunk_native_vlan
                port.trunk_native_vlan = None
        else:
            self.write_line("Invalid input -> %s" % " ".join(args[1:]))
            self.write_line("Type ? for a list")
dataset/ETHPy150Open internap/fake-switches/fake_switches/brocade/command_processor/config_vlan.py/ConfigVlanCommandProcessor.do_no_tagged/swapped operands of `not in`