def contains_bold_text(target):
"""
Determines if a string contains any html bold text. Bold text in html is enclosed by the <b> and </b> tags. <b> must come before </b>. If there is no text between bold tags, then return False. Must be implemented in one line.
"""
return "<b>" in target and "</b>" in target and target.index("<b>") < target.index("</b>")
print(contains_bold_text("<b>")) # False
print(contains_bold_text("<b></b>")) # False
print(contains_bold_text("<b>a</b>")) # True
print(contains_bold_text("aaa <b>hello </b>zzz")) # True
print(contains_bold_text("aaa <i>hello </b> zzz")) # False
pass