Add hasPatchVersion method to check patch version