check for empty hash of keys