In fact, why not make this simply return the pathPlannerStatus.PathAvailability directly and drop the case statement below.