title: how to uncheck/check a primeng checkbox manually
body: <h2>html</h2>
  
  <pre><code>&lt;p-checkbox name="showLinkedRisksOnly" id="showLinkedRisksOnlyChkBx" 
     label="Show Only Linked Risks" binary="true" (click)="showOnlyLinkedRisks($event)"
     [ngModel]="showLinkedRisksOnly" &gt;&lt;/p-checkbox&gt;
  </code></pre>
  
  <h2>typescript</h2>
  
  <pre><code>showOnlyLinkedRisks($event){
    if(condition){
      this.showLinkedRisksOnly = !this.showLinkedRisksOnly;
    }
  }
  </code></pre>
  
  <p>I am trying to change the state of checkbox back to before it was checked/unchecked based on condition. But for some reason the checkbox and model get out of sync when I do change the value of this.showLinkedRisksOnly.
  Is it possible to achive</p>