Accessing User Failure Settings

It would be great if developers could access users’ aircraft failure settings
so that the user can decide the difficulty of the simulation and the number of
aircraft failures that can occur. As of this moment, aircraft devs must either
make the failures ignore the user’s preferences (in this case, why have
preferences at all?), or, make some sort of custom functionality within the
cockpit to toggle the failures. Apologies if this is already available, I
haven’t been able to find any information on the matter so far.