def _immutable_fields_error(result_pipeline_definition):
 for e in result_pipeline_definition['error']:
  for e2 in e['errors']:
   if ('can not be changed' in e2):
    return True
 return False

def _immutable_fields_error ( result_pipeline_definition ) : for e in result_pipeline_definition [ 'error' ] : for e2 in e [ 'errors' ] : if ( 'can not be changed' in e2 ) : return True return False
return true if update pipeline failed due to immutable fields some fields cannot be changed after a pipeline has been activated .