def Predicate(predicate):
    return lambda modelObjects: [x for x in modelObjects if predicate(x)]
Display only those objects that match the given predicate
dataset/ETHPy150Open ODM2/ODMToolsPython/odmtools/lib/oldOlv/Filter.py/Predicate