In multiple places we want to check if a contract leaf is populated or not. Use the is_empty function to make it easy to use the same method consistently. Also, it can be used for the hashes as we would always want to return 0 or the actual hash, but not the hash of the empty leaf
In multiple places we want to check if a contract leaf is populated or not. Use the
is_emptyfunction to make it easy to use the same method consistently. Also, it can be used for the hashes as we would always want to return 0 or the actual hash, but not the hash of the empty leaf