code: protected boolean isPermissionDenied(List<String> output){
          return output.stream().anyMatch(s -> s != null && s.contains(PERMISSION_DENIED_MESSAGE));
      }
docs: Returns true if permission was denied.
  @param output Output from the install/uninstall process.
  @return true if permission was denied.