Added functions is_theme_admin and is_theme_frontend to be used in other modules