code: @SuppressWarnings("PMD.NPathComplexity")
      private static boolean isConfigured(AuditType auditType, JSONArray jsonArray) {
          if (auditType.equals(AuditType.CODE_REVIEW)) {
              return (jsonArray.toJSONString().contains(DashboardAuditStatus.DASHBOARD_REPO_CONFIGURED.name()) ? true : false);
          }
          if (auditType.equals(AuditType.CODE_QUALITY)) {
              return (jsonArray.toJSONString().contains(DashboardAuditStatus.DASHBOARD_CODEQUALITY_CONFIGURED.name()) ? true : false);
          }
          if (auditType.equals(AuditType.STATIC_SECURITY_ANALYSIS)) {
              return (jsonArray.toJSONString().contains(DashboardAuditStatus.DASHBOARD_STATIC_SECURITY_ANALYSIS_CONFIGURED.name()) ? true : false);
          }
          if (auditType.equals(AuditType.LIBRARY_POLICY)) {
              return (jsonArray.toJSONString().contains(DashboardAuditStatus.DASHBOARD_LIBRARY_POLICY_ANALYSIS_CONFIGURED.name()) ? true : false);
          }
          if (auditType.equals(AuditType.TEST_RESULT)) {
              return (jsonArray.toJSONString().contains(DashboardAuditStatus.DASHBOARD_TEST_CONFIGURED.name()) ? true : false);
          }
          if (auditType.equals(AuditType.PERF_TEST)) {
              return (jsonArray.toJSONString().contains(DashboardAuditStatus.DASHBOARD_PERFORMANCE_TEST_CONFIGURED.name()) ? true : false);
          }
          if (auditType.equals(AuditType.BUILD_REVIEW)) {
              return (jsonArray.toJSONString().contains(DashboardAuditStatus.DASHBOARD_BUILD_CONFIGURED.name()) ? true : false);
          }
          return false;
      }
docs: Check for dashboard audit type configuration