empty
Returns a Boolean value that specifies whether there are any metadata elements in the list. (KeyView can return an empty list if a document has no metadata or if metadata is not supported for that file format).
Syntax
bool empty() const noexcept;