def has_test(combo):
    (klass, dtype, method) = combo
    cls_funcs = request.node.session.items
    return any((((klass in x.name) and (dtype in x.name) and (method in x.name)) for x in cls_funcs))
def has_test(combo):
    (klass, dtype, method) = combo
    cls_funcs = request.node.session.items
    return any((((klass in x.name) and (dtype in x.name) and (method in x.name)) for x in cls_funcs))