Returns true if this constraint allows version.
true
version
bool allows(Version version) => ranges.any((constraint) => constraint.allows(version));