checks attribtutes as lower cased