Extract method for default browser check.