Data FilesTypesHDF5FileMethodsexistsOn this pageexists Method of HDF5File. exists(const string path) -> bool Checks whether a dataset or group exists at the given path. Parameters path: Dataset or group path. Returns True if the path exists.