public boolean getIsLeader() {
    return isLeader;
  }
Updates heartbeat by updating the liveness value in the table.
Sets the liveness field to a random integer value in order to update the last modified since timestamp of the row in the table.
This asserts to the leader that the processor is alive.
samza-azure/src/main/java/org/apache/samza/coordinator/data/ProcessorEntity.java