Function diExists

Check runtime within diInit callback

diExists() // false
diInit(() => diExists()) // true