Method of HDF5File.
has_attribute(const string path, const string name) -> bool
Checks whether an attribute exists on a file, group, or dataset.
Parameters
- path: Object path ("/" for file-level attributes).
- name: Attribute name.
Returns
True if the attribute exists.