<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_actor_by_ain(self, ain):
 """ Return a actor identified by it's ain or return None """

        for actor in self.get_actors():
            if actor.actor_id == ain:
                return actor