def fake_add_device(devices, update_befor_add=False):
 if update_befor_add:
  for speaker in devices:
   speaker.update()

def fake_add_device ( devices , update_befor_add = False ) : if update_befor_add : for speaker in devices : speaker . update ( )
fake add device / update .