hasTransition method