Is it okay to disable a radio button in a group of 2?

I have an option menu where one of the options is a simple group of 2 radio buttons:

enter image description here

Now in certain conditions, the 2nd option is not available, but i was wondering if it's okay to simply disable a radiobutton if there are only 2 options available:

enter image description here

Or should i just hide the entire radiobutton group in this scenario?