Check if edge loop selected?

Is there built in operators or functions to check if edge loop or two edge segments selected i bmesh?

if bm.edges[index].select:
or
if bm.edges[index].select == True: