valid := base bottom between(ligature bottom + height, base top / scale factor)
Also instead of between method with two args you could also create an and message/method:
valid := base bottom between(ligature bottom + height) and(base top / scale factor)
Also instead of between method with two args you could also create an and message/method: