title: A get() like method for checking for Python attributes
body: <p>If I had a dictionary <code>dict</code> and I wanted to check for <code>dict['key']</code> I could either do so in a <code>try</code> block (bleh!) or use the <code>get()</code> method, with <code>False</code> as a default value.</p>
  
  <p>I'd like to do the same thing for <code>object.attribute</code>. That is, I already have object to return <code>False</code> if it hasn't been set, but then that gives me errors like</p>
  
  <blockquote>
    <p>AttributeError: 'bool' object has no attribute 'attribute'</p>
  </blockquote>