in reply to lazy creation of a hash

if (keys(%BigHash))
will be false iff the hash is empty. Assuming the hash won't be empty after it is loaded, that should do the job.

Update: moritz is right

if (%BigHash) {
should do the same job.