public boolean exists(String fileName) {assert locked();if (!refCounts.containsKey(fileName)) {return false;} else {return getRefCount(fileName).count > 0;}}
public bool Exists(string fileName){Debug.Assert(IsLocked);return refCounts.TryGetValue(fileName, out RefCount value) ? value.count > 0 : false;}