title: Find object by its member inside a List in python
body: <p>lets assume the following simple Object:</p>
  
  <pre><code>class Mock:
      def __init__(self, name, age):
          self.name = name
          self.age = age
  </code></pre>
  
  <p>then I have a list with some Objects like this:</p>
  
  <pre><code>myList = [Mock("Dan", 34), Mock("Jack", 30), Mock("Oli", 23)...]
  </code></pre>
  
  <p>Is there some built-in feature where I can get all Mocks with an age of ie 30?
  Of course I can iterate myself over them and compare their ages, but something like </p>
  
  <pre><code>find(myList, age=30)
  </code></pre>
  
  <p>would be nice. Is there something like that?</p>