simplification of Range#contains
docs changes