def _is_algorithm_brute(model):
    """Checks if the algorithm for the scikit model is set to 'brute'."""
    return model.algorithm is 'brute' or (model.algorithm is 'auto' and model._fit_method is 'brute')