How to know if a mat-option is selected or not from a click event?
You can get the selected state of the clicked option by reading it off of the MatOption object as follows:
<mat-option #matOption (click)="foo(matOption.selected)"></mat-option>
StackBlitz Example