public static boolean canRun(final File file){
  return manager.getEngineByExtension(FileUtils.getFileExtension(file)) != null;
}

public static boolean canRun ( final File file ) { return manager . getEngineByExtension ( FileUtils . getFileExtension ( file ) ) != null ; }
determines whether a file has the file extension of a valid script file .
