title: Pass method as a parameter on python
body: <p>Can I pass a method as a parameter on python? 
  I want to do things like, for example, if anything is an instance of an object w/has foo method:</p>
  
  <p><code>def access_to(class=anything, method="foo"):
       return class.method</code></p>
  
  <p>(Note is obvious that Anything instance doesn't have the attribute 'method', and Ill get an AttributeError).</p>