static boolean isValidUserMetadataVersion(short userMetadataVersion) {
    switch (userMetadataVersion) {
      case UserMetadata_Version_V1:
        return true;
      default:
        return false;
    }
  }
Format a header for the given version using the given content.
@param headerVersion the version of the header.
@param input the input content that is to be formatted in the appropriate header version.
@return a formatted header for the given version.
@throws MessageFormatException if the given header version is invalid.
ambry-messageformat/src/main/java/com/github/ambry/messageformat/MessageFormatRecord.java