def removeUser(self, args):
        """
            Remove a user specified by the user name or email address from an application or deployment.
        """
        app_name, deployment_name = self.parse_app_deployment_name(args.name)
        if '@' in args.username:
            if deployment_name:
                users = self.api.read_deployment_users(app_name, deployment_name)
            else:
                users = self.api.read_app(app_name)['users']
            try:
                username = [user['username'] for user in users
                            if user['email'] in args.username][0]
            except IndexError:
                raise InputErrorException('RemoveUserGoneError')
        else:
            username = args.username
        try:
            if deployment_name:
                self.api.delete_deployment_user(app_name, deployment_name,
                                                username)

            else:
                self.api.delete_app_user(app_name, username)

        except GoneError:
            raise InputErrorException('RemoveUserGoneError')
        except NotImplementedError:
            raise InputErrorException('CommandNotImplemented')
        return True
dataset/ETHPy150Open cloudControl/cctrl/cctrl/app.py/AppController.removeUser/operator `==` -> `in`