Use empty()
instead of size()
where possible
#13908
Merged
empty()
instead of size()
where possible
#13908