code: private List<PipelineStage> findUnmappedStages(Dashboard dashboard,List<PipelineStage> pipelineStageList){
          List<PipelineStage> unmappedStages = new ArrayList<>();
  
          Map<PipelineStage, String> stageToEnvironmentNameMap = PipelineUtils.getStageToEnvironmentNameMap(dashboard);
  
          for (PipelineStage systemStage : pipelineStageList) {
              if (PipelineStageType.DEPLOY.equals(systemStage.getType())) {
                  String mappedName = stageToEnvironmentNameMap.get(systemStage);
                  if (mappedName == null || mappedName.isEmpty()) {
                      unmappedStages.add(systemStage);
                  }
              }
          }
  
          return unmappedStages;
      }
docs: finds any stages for a dashboard that aren't mapped.
  @param dashboard
  @return a list of deploy PipelineStages that are not mapped