I think there might be some other ways to check attributes.