def describe(self, onlyActive=True):
    'Return a description of the current state of all active light sources.\n\n        If onlyActive is False, then information for all sources will be returned, whether or not they are active.\n        '
    if onlyActive:
        return OrderedDict([(n, s) for (n, s) in self._sources.items() if s['active']])
    else:
        return self._sources.copy()
Return a description of the current state of all active light sources.

If onlyActive is False, then information for all sources will be returned, whether or not they are active.
def describe(self, onlyActive=True):
    'Return a description of the current state of all active light sources.\n\n        If onlyActive is False, then information for all sources will be returned, whether or not they are active.\n        '
    if onlyActive:
        return OrderedDict([(n, s) for (n, s) in self._sources.items() if s['active']])
    else:
        return self._sources.copy()