def find_string(file_path, string):
    try:
        with open(file_path, 'r') as f:
            result = any(line for line in f if string in line)
    except __HOLE__:
        result = False
    return result
dataset/ETHPy150Open nasa-gibs/onearth/src/test/oe_test_utils.py/find_string