Set status of openvpn according to what we process

def output_callback(self, line, kill_switch):
        """Set status of openvpn according to what we process"""
        self.notifications += line + "\n"

        if "Initialization Sequence Completed" in line:
            self.started = True
        if "ERROR:" in line or "Cannot resolve host address:" in line:
            self.error = True
        if "process exiting" in line:
            self.stopped = True