itemscope attribute checking

replaced `getAttribute('itemscope') != ''`  with `hasAttribute('itemscope')`

I recently bumped into this site: http://www.hungry-girl.com/recipes/american-buffalo-chicken-pizza where it is using invalid microdata like `itemscope=''` attribute. using `hasAttribute` fixed the issue. Let me know if there is any better solution.