public static boolean isDeprecated(PropertyKey key) {
    return DEPRECATED_CHECKER.hasAnnotation(key);
  }
@Test
  public void isDeprecated() throws Exception {
    assertFalse(PropertyKey.isDeprecated("alluxio.version"));
  }