def _skip_language(la, dic):
    """
    Helper for _clone_tree_inner: Skip the given language?
    """
    logger = dic['logger']
    allowed_languages = dic.get('allowed_languages')
    if not allowed_languages:
        logger.warn('no allowed languages information')
        return False
    if la in allowed_languages:
        return False