protected final boolean atTopLevel() {
        return context.isEmpty();
    }
Package private abstract base for all handlers here; adds tracking of the
current context so each handler doesn't have to manage it on its own.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/transform/AbstractHandler.java