title: Python get instance from list based on instance variable
body: <p>Given a list of instances, say <code>clients</code> I'm trying to pluck an item from the list based on the value of a single instance variable <code>screenName</code>. I know I can do this:</p>
  
  <pre><code>for client in clients:
    if client.screenName = search:
      return client
  </code></pre>
  
  <p>But is there a nicer way of doing this without the loop?</p>
  
  <p>Thanks for your help :)</p>