'Check if the port already exists'

def exists(self):

    (rtc, out, err) = self._vsctl(['list-ports', self.bridge])
    if (rtc != 0):
        self.module.fail_json(msg=err)
    return (any(((port.rstrip() == self.port) for port in out.split('\n'))) or (self.port == self.bridge))
