helper `.is(<query>, fn)` for testing current version with a semver query