Finish isSubPatternOf