added __bool__ method for Range