Find object by its member inside a List in python,[x for x in myList if x.age == 30]