private bool IsBulkEditWorkflowRequiringNonPipelineActivity(BulkEditWorkflow workflow) { string name = workflow.Name; return(string.Equals(name, "BulkRemoveDelegationWorkflow", StringComparison.OrdinalIgnoreCase) || string.Equals(name, "BulkAddDelegationWorkflow", StringComparison.OrdinalIgnoreCase)); }