code: private static boolean isBeta(AnnotationEntry[] annotationEntries) {
      for (AnnotationEntry annotation : annotationEntries) {
        if (BETA_ANNOTATION.equals(annotation.getAnnotationType())) {
          return true;
        }
      }
      return false;
    }
docs: Returns true if the given annotations contain {@link Beta}.