parameters: (estimator)
return_statement: return getattr(estimator, "_estimator_type", None) == "classifier"
docstring: Return True if the given estimator is (probably) a classifier.
  
      Parameters
      ----------
      estimator : object
          Estimator object to test.
  
      Returns
      -------
      out : bool
          True if estimator is a classifier and False otherwise.
docstring_summary: Return True if the given estimator is (probably) a classifier.
docstring_tokens: Return True if the given estimator is ( probably ) a classifier .
function: def is_classifier(estimator):
      """Return True if the given estimator is (probably) a classifier.
  
      Parameters
      ----------
      estimator : object
          Estimator object to test.
  
      Returns
      -------
      out : bool
          True if estimator is a classifier and False otherwise.
      """
      return getattr(estimator, "_estimator_type", None) == "classifier"
function_tokens: def is_classifier ( estimator ) : return getattr ( estimator , "_estimator_type" , None ) == "classifier"