Check attribute existence.