Check if user's PC is Ray Tracing capable?

Hi all!

I have tried asking on forums, with no success, so I’m looking for your help here, please.

I would want to know if there is a way to check if the user’s PC is RT capable/compatible, and use it as a boolean. This way, I could use it as a filter to lock or allow some settings on my project.

For example, in the Star Wars RTX demo scene (NVIDIA Star Wars RTX Raytraced Reflections Demo Download | TechPowerUp), when I had a non-RT capable GPU, I remember I saw a notice telling me that I was not able to run that demo, and it was closing.

Thank you very much and best regards!