code: private static boolean isUnsafelyReassigned(Name name) {
      boolean foundOriginalDefinition = false;
      for (Ref ref : name.getRefs()) {
        if (!ref.isSet()) {
          continue;
        }
        if (CollapseProperties.isSafeNamespaceReinit(ref)) {
          continue;
        }
        if (!foundOriginalDefinition) {
          foundOriginalDefinition = true;
        } else {
          return true;
        }
      }
      return false;
    }
docs: Check if the name has multiple sets that are not of the form "a = a || {}"