DRI support in X.org?

I’m currently reviewing UM 18.04 release post and it’s mentioned that Marco now uses hardware acceleration if the hardware/driver supports DRI3.

How do I know if it’s enabled on my setup? I know I can create a xorg.conf to add the option but do I have to do it or does X automatically enable it?