public static boolean hasPopupOpen() { for (GuiExtension e : getGui()) { if (e instanceof IPopupIDoItellYou) { if (e.isVisible()) { return true; } } } return false; }