code: def call_status(*args, **kwargs):
      '''
      Return the status of the lamps.
  
      Options:
  
      * **id**: Specifies a device ID. Can be a comma-separated values. All, if omitted.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' hue.status
          salt '*' hue.status id=1
          salt '*' hue.status id=1,2,3
      '''
      res = dict()
      devices = _get_lights()
      for dev_id in 'id' not in kwargs and sorted(devices.keys()) or _get_devices(kwargs):
          dev_id = six.text_type(dev_id)
          res[dev_id] = {
              'on': devices[dev_id]['state']['on'],
              'reachable': devices[dev_id]['state']['reachable']
          }
  
      return ref call_status(*args, **kwargs):
      '''
      Return the status of the lamps.
  
      Options:
  
      * **id**: Specifies a device ID. Can be a comma-separated values. All, if omitted.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' hue.status
          salt '*' hue.status id=1
          salt '*' hue.status id=1,2,3
      '''
      res = dict()
      devices = _get_lights()
      for dev_id in 'id' not in kwargs and sorted(devices.keys()) or _get_devices(kwargs):
          dev_id = six.text_type(dev_id)
          res[dev_id] = {
              'on': devices[dev_id]['state']['on'],
              'reachable': devices[dev_id]['state']['reachable']
          }
  
      return res
docs: Return the status of the lamps.
  
      Options:
  
      * **id**: Specifies a device ID. Can be a comma-separated values. All, if omitted.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' hue.status
          salt '*' hue.status id=1
          salt '*' hue.status id=1,2,3