public bool IsVisible(Window mainWindow, Instance instance)
 {
     return(MainWindowHelper.IsEnabledOrVisibleButtonForSitecoreMember(instance));
 }