def METHOD_NAME(self):
    if not dist.is_initialized():
        return self._interrupted
    METHOD_NAME = torch.tensor(self._interrupted).int().to(self.device)
    dist.broadcast(METHOD_NAME, 0)
    METHOD_NAME = bool(METHOD_NAME.item())
    return METHOD_NAME