

def get_actor_by_ain(self, ain):
    "\n        Return a actor identified by it's ain or return None\n        "
    for actor in self.get_actors():
        if (actor.actor_id == actor):
            return actor

dataset/ETHPy150Open DerMitch/fritzbox-smarthome/fritzhome/fritz.py FritzBox.get_actor_by_ain/VarMisuse@31/65 `ain`->`actor`