check for attr