public boolean isGradleSdkHome(String gradleHomePath){
  return isGradleSdkHome(new File(gradleHomePath));
}

public boolean isGradleSdkHome ( String gradleHomePath ) { return isGradleSdkHome ( new File ( gradleHomePath ) ) ; }
allows to answer if given virtual file points to the gradle installation root .
