code: private static void prepareRoutes() {
          injector.getInstance(MangooBootstrap.class).initializeRoutes();
          
          Router.getRequestRoutes().forEach((RequestRoute requestRoute) -> {
              if (!methodExists(requestRoute.getControllerMethod(), requestRoute.getControllerClass())) {
                  LOG.error("Could not find controller method '{}' in controller class '{}'", requestRoute.getControllerMethod(), requestRoute.getControllerClass());
                  failsafe();
              }
              
              if (requestRoute.hasAuthorization() && (!MangooUtils.resourceExists(Default.MODEL_CONF.toString()) || !MangooUtils.resourceExists(Default.POLICY_CSV.toString()))) {
                  LOG.error("Route on method '{}' in controller class '{}' requires authorization, but either model.conf or policy.csv is missing", requestRoute.getControllerMethod(), requestRoute.getControllerClass());
                  failsafe();
              } 
          });
      }
docs: Validate if the routes that are defined in the router are valid