Allegro 5 api
#include <allegro5/allegro.h> bool al_is_system_installed(void)
Returns true if Allegro is initialized, otherwise returns false.