@Override
  public Token getValueAsToken() {
    Object v = getValueField();
    if (v == null || v instanceof Token) {
      return (Token) v;
    } else {
      return Token.NOT_A_TOKEN;
    }
  }
Any bits in "bitMask" that are 0 will be cleared.
geode-core/src/main/java/org/apache/geode/internal/cache/entries/AbstractRegionEntry.java