Check if the array has no elements.
bool empty() const;
Returns true if there are no elements in the array, i.e. size() returns 0.
true
size()
Constant.
No-throw guarantee.