public bool SpectatorLockExists(Guid vesselId) { return(ServerLocks.Any(l => l.Key.EndsWith(vesselId.ToString()) && l.Key.StartsWith("spectator-"))); }
public bool LockWithPrefixExists(string lockPrefix) { return(ServerLocks.Any(l => l.Key.StartsWith(lockPrefix))); }