Drupal 8 Route is admin

$is_admin = \Drupal::service('router.admin_context')->isAdminRoute($route);