code: def print_lamps():
      
      print("Printing information about all lamps paired to the Gateway")
      lights = [dev for dev in devices if dev.has_light_control]
      if len(lights) == 0:
          exit(bold("No lamps paired"))
  
      container = []
      for l in lights:
          container.append(l.raw)
      print(jsonify(container))
docs: Print all lamp devices as JSON