def apply_to(self, agent):
        """Apply this object's state to an Agent.

        Parameters
        ----------
        agent : indra.statements.Agent
            The agent to which the state should be applied
        """
        agent.bound_conditions = self.bound_conditions
        agent.mods = self.mods
        agent.mutations = self.mutations
        agent.location = self.location
        return self.evidence
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
Apply this object's state to an Agent.

        Parameters
        ----------
        agent : indra.statements.Agent
            The agent to which the state should be applied