Version 1.1.2 adds the method "hasAttr"