def METHOD_NAME():
    # Note(qiuyanjun): Only support linux now.
    found_trt_lib = False
    if ('linux' in sys_platform) and ('LD_LIBRARY_PATH' in os.environ.keys()):
        for lib_path in os.environ['LD_LIBRARY_PATH'].split(':'):
            if os.path.exists(os.path.join(lib_path, 'libnvinfer.so')):
                found_trt_lib = True
                break
    return found_trt_lib