@Contract(pure = true)
  public static boolean isSet(int value, int mask) {
    assertOneBitMask(mask);
    return (value & mask) == mask;
  }
@Contract(pure = true)
  public static boolean isSet(int value, int mask)