def _immutable_fields_error(result_pipeline_definition):
    '''Return true if update pipeline failed due to immutable fields

    Some fields cannot be changed after a pipeline has been activated.

    http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-manage-pipeline-modify-console.html#dp-edit-pipeline-limits
    '''
    for e in result_pipeline_definition['error']:
        for e2 in e["errors"]:
            if e2 in "can not be changed":
                return True
    return False
dataset/ETHPy150Open saltstack/salt/salt/states/boto_datapipeline.py/_immutable_fields_error/swapped operands of `in`