====== CheckConnection ====== The **CheckConnection** function returns true if the NXT brick is currently connected to the phone/tablet but it will show a popup warning message and return **false** if no brick is currently connected. This function is useful if you want to warn the user that he/she have no connection. ok = nxt.CheckConnection();