class_docstr: Metaclass for `ProbabilisticClassifier`.
  
  This metaclass is responsible for checking whether a class can be considered a `ProbabilisticClassifier`.
  A class is considered a `ProbabilisticClassifier` if it has a "predict_proba" method.
class_docstr_tok: ["Metaclass","for","`","ProbabilisticClassifier","`",".","This","metaclass","is","responsible","for","checking","whether","a","class","can","be","considered","a","`","ProbabilisticClassifier","`",".","A","class","is","considered","a","`","ProbabilisticClassifier","`","if","it","has","a","``","predict_proba","''","method","."]
docstr: Checks if the provided object is a `ProbabilisticClassifier`.
  
  Parameters
  ----------
  self : ProbabilisticClassifierMeta
      `ProbabilisticClassifierMeta` class.
  other : object
      The object to check for `ProbabilisticClassifier` compatibility.
  
  Returns
  -------
  bool
      True if the object is a `ProbabilisticClassifier` (has a "predict_proba" method ), False otherwise.
docstr_tok: ["Checks","if","the","provided","object","is","a","`","ProbabilisticClassifier","`",".","Parameters","--","--","--","--","--","self",":","ProbabilisticClassifierMeta","`","ProbabilisticClassifierMeta","`","class",".","other",":","object","The","object","to","check","for","`","ProbabilisticClassifier","`","compatibility",".","Returns","--","--","--","-","bool","True","if","the","object","is","a","`","ProbabilisticClassifier","`","(","has","a","``","predict_proba","''","method",")",",","False","otherwise","."]
code: def __instancecheck__(self, other):
      """Checks if the provided object is a `ProbabilisticClassifier`.
  
      Parameters
      ----------
      self : ProbabilisticClassifierMeta
          `ProbabilisticClassifierMeta` class.
      other : object
          The object to check for `ProbabilisticClassifier` compatibility.
  
      Returns
      -------
      bool
          True if the object is a `ProbabilisticClassifier` (has a "predict_proba" method ), False otherwise.
      """
      return hasattr(other, "predict_proba")
  
file_path: scikit-lego/sklego/base.py
imports: from sklearn.base import OutlierMixin
label_desc: Use image node_id 1 for calling the ProbabilisticClassifierMeta obj's underlying member method code with example usage: obj.__instancecheck__(other) and returns: hasattr