Site icon Hip-Hop Website Design and Development

I have. a snippet to redirect all user to a maintenance page. But I want exclude users in admin role

So I have a snippet that redirects all user to a maintenance page. How can I tweak it to All users except admin users? Thanks

<?php

add_action( 'template_redirect', function() {
    if ( is_page( 4848 ) ) {
        return;
    }
    wp_redirect( esc_url_raw( home_url( 'maintenance/' ) ) );
    //wp_redirect( esc_url_raw( home_url( 'index.php?page_id=4848' ) ) );
    exit;
} );