Previously we saw that a hash in LIST context returns its keys and values. In SCALAR context:
if (%h) { # the hash is not empty }
Follow me: