def is_lyr_def(xlsfile):
    """
    if the xlsx file is used to define layer.
    NOT for Multiple layers, or group layers.
    """
    if xlsfile.endswith('.xlsx'):
        if '_mul' in xlsfile or '_grp' in xlsfile:
            return False
        else:
            return True
    else:
        return False
