title: Smalltalk: Checking if a method belongs to a class (or its inheritance hierarchy)
body: <p>Is there a smalltalk message that will answer with a boolean value if a given method (example: passed with #aMethod) belongs to a given class (or its hierarchy)?</p>
  
  <p>I want to say something like —</p>
  
  <pre><code>(self containsMethod:#aMethod) ifFalse:[...blah blah].
  </code></pre>
  
  <p>Obviously, containsMethod: is a placeholder for some message I hope exists. Oh, and self's superclass in this example is Object. Thanks!</p>