def check_validity(self, context, past_states = None ): return mutils.check_conditions( context, self.validity_conditions, past_states, )
def check_availability(self, context, past_states = None ): return mutils.check_conditions( context, self.pre_conditions, past_states )
def check_completion(self, context, past_states = None ): return mutils.check_conditions( context, self.conditions, past_states, )
def check_reward_conditions(self, context ): return mutils.check_conditions( context, self.conditions )