# File lib/state_machine/machine.rb, line 1546 def action_hook?(self_only = false) @action_hook_defined || !self_only && owner_class.state_machines.any? {|name, machine| machine.action == action && machine != self && machine.action_hook?(true)} end