Function createCheckToStringNode