bs4.BeautifulStoneSoup.has_attr

BeautifulStoneSoup.has_attr(key)