code: public boolean isEligibleForContextRefresh() {
          if (this.override) {
              return true;
          }
          if (getFile() != null) {
              return CONFIG_FILE_PATTERN.matcher(getFile().toFile().getName()).find();
          }
          return false;
      }
docs: Is eligible for context refresh ?
  
  @return the boolean