Check if the model is the swarm leader.
This is a convenience function for accessing the peer property and checking if it's the swarm leader.
this |
The model to inspect |
The value of is_swarm_leader for the Peer used by this shared model |