presto-main/src/main/java/io/prestosql/server/InternalAuthenticationManager.java/InternalAuthenticationManager/isInternalRequest
class InternalAuthenticationManager:    public boolean isInternalRequest(HttpServletRequest request)
    {
        return request.getHeader(PRESTO_INTERNAL_BEARER) != null;
    }