hasprimattrib
expression function
Returns 1 if a specified primtive attribute exists.
Usage
hasprimattrib(surface_node, attribute)