If you don't want to preserve 80 characters limit you can write:
self.assign_loan_end_date = 'assign_loan_end_date' in self.transition_object.actions_names()