def lookup(self, qualified_name):
        """
        Look up actor using qualified_name, e.g. foo.bar.Actor
        If self.sec is set use it to verify access rights
        Return a tuple (found, is_primitive, info) where
            found:         boolean
            is_primitive:  boolean
            info:          if is_primitive is
                            True  => actor object
                            False => component definition dictionary
        """
        _log.debug("ActorStore lookup SECURITY %s" + str(self.sec))
        namespace, _, actor_type = qualified_name.rpartition('.')
        # Search in the order given by config
        for path in self.paths_for_module(namespace):
            # Primitives has precedence over components
            actor_path = os.path.join(path, actor_type + '.py')
            actor_class = self.load_actor(actor_type, actor_path)
            if actor_class:
                return (True, True, actor_class)
        for path in self.paths_for_module(namespace):
            actor_path = os.path.join(path, actor_type + '.comp')
            # TODO add credential verification of components
            comp = self.load_component(actor_type, actor_path)
            if comp:
                return (True, False, comp)
        return (False, False, None)
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/actorstore/store.py/ActorStore.lookup/operator `%` -> `+`