def undeclared_actors(self, connections, declared_actors):
        # Look for undeclared actors
        src_actors = {c['src'] for c in connections if c['src'] != "."}
        dst_actors = {c['dst'] for c in connections if c['dst'] != "."}
        # Implicit src actors are defined by a constant on the inport
        implicit_src_actors = {c['src'] for c in connections if c['src'] is None}
        all_actors = src_actors | dst_actors
        undefined_actors = all_actors - (set(declared_actors) | implicit_src_actors)
        return undefined_actors
Removes any remote state that was created to run AppScale instances
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/csparser/checker.py/Checker.undeclared_actors--crossover with--dataset/ETHPy150Open AppScale/appscale-tools/lib/agents/base_agent.py/BaseAgent.cleanup_state