Fix Accumulator.isEmpty method

patch by slebresne; reviewed by benedict for CASSANDRA-7873