docs: public static boolean isValidLabelOrAnnotation(Map<String, String> map) {
      for(Map.Entry<String, String> entry : map.entrySet()) {
        if(!(isValidName(entry.getKey()) && isValidName(entry.getValue()))) {
          return false;
        }
      }
      return true;
    }