c# check if property exists before using it
<pre><code>IndicationBase indication = new IndicationBase(Chatham.Web.UI.Extranet.SessionManager.PhysicalUser);
// check for permissions
LightDataObjectList&lt;TransactionPermission&gt; perms = indication.Model.Trx.TransactionPermissionCollection;
</code></pre>

<p>So sometimes the <code>indication</code> will have a <code>Model.Trx.TransationPermissionCollection</code>, and a lot of times it won't. How do I check to see if it does before trying to access it so I don't get an error.</p>
