Allow to check the value of an attribute of an element