1if ( current_user_can('administrator') ) {} // also others than admin w same capabilities
2if ( is_user_admin() ){} // if it is admin
3if ( is_admin() ){} //if the view is not the admin interface but the theme
1// Determines whether the current request is for an
2// administrative interface page.
3is_admin()