protected static boolean isSet(short flags, short mask) {
      return (flags & mask) != 0;
    }
mask for clearing transient flags when serializing
geode-core/src/main/java/org/apache/geode/internal/cache/EntryEventImpl.java