def feedback_condition(self):
    "\n        Returns true when we should give feedback.\n        Currently returns true when the agent's past action did not match the oracle's action.\n        "
    return ((len(self.agent_actions) > 0) and (not (self.agent_actions[(- 1)] == self.oracle_actions[(- 1)])))
Returns true when we should give feedback.
Currently returns true when the agent's past action did not match the oracle's action.
def feedback_condition(self):
    "\n        Returns true when we should give feedback.\n        Currently returns true when the agent's past action did not match the oracle's action.\n        "
    return ((len(self.agent_actions) > 0) and (not (self.agent_actions[(- 1)] == self.oracle_actions[(- 1)])))