Standard LibraryTypesSetMethodsemptyOn this pageempty Method of Set. empty() -> bool Checks if the container is empty.