New function to check if we need to show the warnings in the admin backend