def RelayStateHelper(manager, delay):
 return internet.TimerService(delay, _checkState, manager)

def RelayStateHelper ( manager , delay ) : return internet . TimerService ( delay , _checkState , manager )
set up a periodic call to prompt a relaying manager to check state .