code: public boolean isEnabled() {
          if (daysOfWeek != null && daysOfWeek.length > 0) {
              return true;
          }
          if (timesOfDay != null && timesOfDay.size() > 0) {
              return true;
          }
          return false;
      }
docs: Returns true if any exception data has been added, either days or time.
  
  @return true if any exception data has been added, either days or time.