How can I block a UI option if the hardware doesn't support FSR?

I am experiencing the same error. please help