How to Disable Content Warning Dialog for Logged in users

To check if an user is logged you can check with is_user_logged_in() that will only return true or false. You can combine the statement with get_current_user_id(), if the return value is 0, the user is not log.

if(is_user_logged_in() && get_current_user_id()!=0 && isset( $post_obj->ID ) && 1 == $post_obj->ID){
    return false;
}
return $bool;