def check_header(conf, header):
    code = r"""
#include <%s>
""" % header

    conf.start_message("Checking for header %s" % header)
    ret = conf.builders["ctasks"].try_compile("check_header", code, None)
    if ret:
        conf.end_message("yes")
    else:
        conf.end_message("no !")
    conf.conf_results.append({"type": "header", "value": header,
                              "result": ret})
    return ret
dataset/ETHPy150Open cournape/Bento/bento/private/_yaku/yaku/conftests/conftests.py/check_header/original