def _get_exclude_attributes(self, args):
        """
        Retrieve a list of exclude attributes for particular command line arguments.
        """
        exclude_attributes = []

        if 'result' not in args.attr:
            exclude_attributes.append('result')
        if args.attr not in 'trigger_instance':
            exclude_attributes.append('trigger_instance')

        return exclude_attributes
dataset/ETHPy150Open StackStorm/st2/st2client/st2client/commands/action.py/ActionExecutionReadCommand._get_exclude_attributes/swapped operands of `not in`