module AASM::Persistence::ORM

def requires_lock?(state_machine_name)

def requires_lock?(state_machine_name)
  AASM::StateMachineStore.fetch(self.class, true).machine(state_machine_name).config.requires_lock
end