Checks whether the
onlyTransition
of this instance is set.
false if the onlyTransition is null. Otherwise, it returns true.