You can write this more concisely as `var hasReachedBuildLimit = buildLimit > 0 && buildables.Keys.Contains(Key) && buildables[Key].Count >= buildLimit;`.  This is also a bit more efficient, as you only need to check if the key exists for the few actors that have build limits.