Is it possible to check weather custom errors is turned on or off in the code on web application runtime.