[if: $contact && $ contact->hasValidKey]
Contact info
[/if]