private static boolean areAllImportsUnused(PyImportStatementBase importStatement, Set<PyImportedNameDefiner> unusedImports) {
    final PyImportElement[] elements = importStatement.getImportElements();
    for (PyImportElement element : elements) {
      if (!unusedImports.contains(element)) {
        return false;
      }
    }
    return true;
  }
private static boolean areAllImportsUnused(PyImportStatementBase importStatement, Set<PyImportedNameDefiner> unusedImports)