def distributed()

in detector/utils.py [0:0]


def distributed():
    return dist.is_available() and dist.is_initialized()