public virtual bool ShouldSerializeTerminalBlock() { return TerminalBlock != null && TerminalBlock.Count > 0; }