code: public boolean getIsNew() {
      String projectPath = getProjectPath();
      if(projectPath == null) {
        return true;
      }
      File projectDir = new File(projectPath);
      if(!projectDir.exists()) {
        return true;
      }
      File projectDescriptor = new File(projectPath + File.separator + DESCRIPTOR_FILE_NAME);
      return !projectDescriptor.exists();
    }
docs: Utilities: