prokbert.general_utils.check_file_exists

prokbert.general_utils.check_file_exists(file_path: str) bool

Checks if the provided file path exists.

Parameters

file_path (str) – Path to the file.

Returns

True if the file exists, raises ValueError otherwise.

Return type

bool