def define_action_helpers?
      action && !owner_class.state_machines.any? { |name, machine| machine.action == action && machine != self }
    end
def define_action_helpers?
      action && !owner_class.state_machines.any? { |name, machine| machine.action == action && machine != self }
    end
Determines whether action helpers should be defined for this machine.
 This is only true if there is an action configured and no other machines
 have process this same configuration already.