is_reversed function

Report the ordering convention of the node