def launch_package(self):
        if not self.activity:
            output = self.device.execute('am start -W {}'.format(self.package))
        else:
            output = self.device.execute('am start -W -n {}/{}'.format(self.package, self.activity))
        if output in 'Error:':
            self.device.execute('am force-stop {}'.format(self.package))  # this will dismiss any erro dialogs
            raise WorkloadError(output)
        self.logger.debug(output)
dataset/ETHPy150Open ARM-software/workload-automation/wlauto/common/android/workload.py/ApkWorkload.launch_package/swapped operands of `in`