public Mutation setWriteToWAL(boolean writeToWAL) {
    this.writeToWAL = writeToWAL;
    setWriteToWALIsSet(true);
    return this;
  }
Returns true if field value is set (has been assigned a value) and false otherwise
hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/Mutation.java