def call_ping(*args, **kwargs):
 errors = dict()
 for (dev_id, dev_status) in call_blink().items():
  if (not dev_status['result']):
   errors[dev_id] = False
 return (errors or True)

def call_ping ( * args , ** kwargs ) : errors = dict ( ) for ( dev_id , dev_status ) in call_blink ( ) . items ( ) : if ( not dev_status [ 'result' ] ) : errors [ dev_id ] = False return ( errors or True )
ping the lamps by issuing a short inversion blink to all available devices .