yt.funcs.is_root

yt.funcs.is_root()[source]

This function returns True if it is on the root processor of the topcomm and False otherwise.