minor point - but hasProp is enough, don't really need version check too.