BeautifulSoup 4.2.0 deprecated `has_key' method