def path_list_is_sibling(sib1, sib2, **kwargs):
    """ 
        from xdict.utils import *
        path_list_is_sibling(['a','b','c'],['a','b','d'])
        path_list_is_sibling(['a','b','c'],['a','b','e'])
        path_list_is_sibling(['a','b','c'],['a','b','d',''])
        path_list_is_sibling(['a','b','c'],['a','e','d'])
        
    """
    s1s = sib1
    s2s = sib2
    if s1s.__len__() != s2s.__len__():
        return 0
    else:
        s1p = s1s[:-1]
        s2p = s2s[:-1]
        if s1p == s2p:
            return 1
        else:
            return 0
