ESX.UI.Menu.IsOpen

1
ESX.UI.Menu.IsOpen(type, namespace, name)

This function checks if a menu is open.