Consolidated is_admin_in_XYZmode? methods into one with a parameter and updated spec