def is_synchronized_with_peers(self) -> bool:
    'Checks whether the current peer is up-to-date with others in terms of the epoch (step) number.'
    return (self.local_epoch >= (self.tracker.global_epoch - 1))
Checks whether the current peer is up-to-date with others in terms of the epoch (step) number.
def is_synchronized_with_peers(self) -> bool:
    
    return (self.local_epoch >= (self.tracker.global_epoch - 1))