is_nodetype
opttype = is_nodetype((void *)optionset, "optionset");
if (is_nodetype(object, "optionset")) {