private bool IsLeagueOrOverlayActive() { string currentActiveProcessName = ProcessHelper.GetActiveProcessName(); return(currentActiveProcessName.Contains("League of Legends") || currentActiveProcessName.Contains("TFT Overlay")); }