syntax simplified for attribute checks