Check is main interface is initializing
const isMainInit = WPP.conn.isMainInit(); Copy
const isMainInit = WPP.conn.isMainInit();
Check is main interface is initializing