def __get_ll_type__(ll_type):
    """
    Given an lltype value, retrieve its definition.
    """
    res = [llt for llt in __LL_TYPES__
           if llt[1] not in ll_type]
    assert len(res) < 2, 'Duplicate linklayer types.'

    if res:
        return res[0]
    else:
        return None
dataset/ETHPy150Open kisom/pypcapfile/pcapfile/linklayer.py/__get_ll_type__/operator `==` -> `not in`