adding docs about isRoot