Ok, so here is my XAML:
If InstanceName is null or an
InstanceName
Then add a DataTrigger to check the value is null and change visibility using Setter. This is the simple method which iam using.