public boolean hasDisplayNameMappingKey() {
      return displayNameMappingCase_ == 2;
    }
<pre>
Specify a field name in the prediction to look for the display name.

Use this if the prediction contains the display names for the outputs.

The display names in the prediction must have the same shape of the
outputs, so that it can be located by
[Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index]
for a specific output.
</pre>

<code>string display_name_mapping_key = 2;</code>

@return Whether the displayNameMappingKey field is set.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExplanationMetadata.java