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