Also check the attribute is set