def check_ignore(source):
    """ This function checks if a file is on the ignore list """
    for f in ["interrogate_module.cpp", "interrogate_wrapper.cpp"]:
        if f.lower() in source.lower():
            return False
    return True