public bool IsValidInstance(int RecordType, int RecordInstance) { return this.Records.ContainsKey(RecordType) && this.Records[RecordType].ContainsKey(RecordInstance); }