I located properties from a Yammer Group using Graph Explorer by running the following - https://graph.microsoft.com/v1.0/groups/{Enter Group ID in between these brackets}
Once this was complete we were able to see that the new property that was being populated when a M365 was provisioned with Yammer is now named creationOptions - "YammerProvisioning"
As we need to use the ResourceBehaviorOptions property for Groups created pre - April 2019 and then creationOptions for Groups created post April 2019 this would require a but of work to pull both PowerShell and Graph together to get this data, therefore we continued to try and find another script that would list all M365 that was provisioned with Yammer and finally found:
Get-UnifiedGroup |?{$_.GroupSku -eq "Yammer"}
This will pull every M365 that has the Yammer Group SKU which is every M365 that has been provisoned with Yammer.
I hope this answer helps someone who may be looking to achieve the same thing.