docs: public boolean directoryContainsFiles(File fileDir)
      {
          boolean containsFiles = false;
          File[] files = fileDir.listFiles();
          if (files != null)
          {
              for (File file : files)
              {
                  if (!file.isDirectory())
                      containsFiles = true;
              }
          }
          return containsFiles;
      }