code: def apply_to(self, agent):
          
          agent.bound_conditions = self.bound_conditions
          agent.mods = self.mods
          agent.mutations = self.mutations
          agent.location = self.location
          return self.evidence
docs: Apply this object's state to an Agent.
  
          Parameters
          ----------
          agent : indra.statements.Agent
              The agent to which the state should be applied