# File lib/state_machine/path.rb, line 85 def complete? !empty? && (@target ? to_name == @target : transitions.empty?) end