<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def call_lights(*args, **kwargs):
    '''
    Get info about all available lamps.

    Options:

    * **id**: Specifies a device ID. Can be a comma-separated values. All, if omitted.

    CLI Example:

    .. code-block:: bash

        salt '*' hue.lights
        salt '*' hue.lights id=1
        salt '*' hue.lights id=1,2,3
    '''
    res = dict()
    lights = _get_lights()
    for dev_id in 'id' in kwargs and _get_devices(kwargs) or sorted(lights.keys()):
        if lights.get(six.text_type(dev_id)):
            res[dev_id] = lights[six.text_type(dev_id)]

    return res or False