@Override
        public int hashCode() {
            return Objects.hash(error, topic, isInternal, partitionMetadata, authorizedOperations);
        }
Check whether the leader epochs returned from the response can be relied on
for epoch validation in Fetch, ListOffsets, and OffsetsForLeaderEpoch requests.
If not, then the client will not retain the leader epochs and hence will not
forward them in requests.

@return true if the epoch can be used for validation
clients/src/main/java/org/apache/kafka/common/requests/MetadataResponse.java