Renamed isValid by isEndPointValid