```{index} single: hash_unlocked; Hash::Util function ``` ```{index} single: Hash::Util::hash_unlocked; Perl function ``` # hash_unlocked Report whether the hash's keyset is *not* currently locked. ## Synopsis ```perl hash_unlocked(%hash) and print "open\n"; ``` The logical inverse of `hash_locked`: returns `1` on an unlocked hash, `0` on a locked one. Handy in conditions where testing for the open state reads more naturally than negating the locked one.