def check
      return false unless @btree.check

      i = 0
      each do |k, v|
        i += 1
      end

      unless @entry_counter == i
        PEROBS.log.error "BigHash contains #{i} values but entry counter " +
          "is #{@entry_counter}"
        return false
      end

      true
    end
def check
      return false unless @btree.check

      i = 0
      each do |k, v|
        i += 1
      end

      unless @entry_counter == i
        PEROBS.log.error "BigHash contains #{i} values but entry counter " +
          "is #{@entry_counter}"
        return false
      end

      true
    end
Check if the data structure contains any errors.
 @return [Boolean] true if no erros were found, false otherwise