function isReachable(segment) {
  return segment.reachable;
}
Checks whether or not a given segment is reachable.
@param {CodePathSegment} segment A segment to check.
@returns {boolean} `true` if the segment is reachable.