Checks whether the user interface is ready for interaction.
Specifically, it verifies that the UI is not busy (for example, displaying a modal dialog) and is fully prepared to accept user input.
planetcnc.is_ui_ready()
#! /usr/bin/env python import planetcnc if planetcnc.is_ui_ready(): print("UI is ready for interaction.") else: print("UI is busy or not ready.")