Implement the new Interval::isLoop method