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