def checkforkernelmodule(name):
    with open('/proc/modules', 'r') as f:
        for line in f:
            if line.startswith(name + ' '):
                return line.rstrip()
    return None
Test status=200
dataset/ETHPy150Open coreemu/core/daemon/core/misc/utils.py/checkforkernelmodule--crossover with--dataset/ETHPy150Open nvbn/coviolations_web/tasks/tests/test_views.py/RawViolationViewCase.test_ok