code: public static boolean hasConfigFileExists(String dirPath) {
          String filePath = dirPath + File.separator + Configurations.CONFIG_FILE_NAME + ".";
          if (AuditUtil.isFileExists(filePath + Configurations.YML_EXTENTION)
                  || AuditUtil.isFileExists(filePath + Configurations.YAML_EXTENTION)
                  || AuditUtil.isFileExists(filePath + Configurations.XML_EXTENTION)) {
              return true;
          }
          return false;
      }
docs: Checks whether config file exists in directory.
  
  @param dirPath the dir path
  @return true, if successful