Safe Navigation Operator

Is there a way to use the safe navigation operator with associative array notation? header?.apikey works but how to work with header["X-API-KEY"]?

Added a ticket:

https://luceeserver.atlassian.net/browse/LDEV-2119