def emptyLayerCheck(layerList=[]):
    '\n\tReturn a list if empty layers\n\t@param layerList: List of layers to check. If empty, use all existing layers in current scene.\n\t@type layerList: list\n\t'
    if (not layerList):
        layerList = mc.ls(type=['displayLayer', 'renderLayer', 'animLayer'])
    else:
        layerList = mc.ls(layerList, type=['displayLayer', 'renderLayer', 'animLayer'])
    result = []
    for layer in layerList:
        if (not mc.ls(layer, type=['displayLayer', 'renderLayer', 'animLayer'])):
            continue
        if layer.startswith('default'):
            continue
        if (not glTools.utils.layer.memberList(layer)):
            result.append(layer)
    return result
Return a list if empty layers
@param layerList: List of layers to check. If empty, use all existing layers in current scene.
@type layerList: list
def emptyLayerCheck(layerList=[]):
    '\n\tReturn a list if empty layers\n\t@param layerList: List of layers to check. If empty, use all existing layers in current scene.\n\t@type layerList: list\n\t'
    if (not layerList):
        layerList = mc.ls(type=['displayLayer', 'renderLayer', 'animLayer'])
    else:
        layerList = mc.ls(layerList, type=['displayLayer', 'renderLayer', 'animLayer'])
    result = []
    for layer in layerList:
        if (not mc.ls(layer, type=['displayLayer', 'renderLayer', 'animLayer'])):
            continue
        if layer.startswith('default'):
            continue
        if (not glTools.utils.layer.memberList(layer)):
            result.append(layer)
    return result