Check attribute

Checks the value of a nodes attribute.