public static bool IsCefOpen(this ClassicPlayer player) { if (player == null || !player.Exists) { return(false); } player.GetSyncedMetaData("IsCefOpen", out bool isCefOpened); return(isCefOpened); }