def _lt_attr_filter(container, node, condition, candidate_list):
    """
    Filter on attributes less than requested value.
    """
    for candidate in list(candidate_list.keys()):
        attrn = condition[0]
        attrv = condition[1]
        for src, trg in candidate_list[candidate]:
            if src == node and attrn not in container.nodes[trg]:
                candidate_list.pop(candidate)
                break
            if src == node and attrn in container.nodes[trg
                ] and attrv < container.nodes[trg][attrn]:
                candidate_list.pop(candidate)
                break
