Note this doesnt do the fancy stuff (counting selected faces etc.) that
the context menu (VIEW3D_MT_edit_mesh_context_menu) does, so it is
always available, with only one selected face you'll run into the
"Select at least two edge loops" error.
Could check on doing the fancy checks in this menu as well, not sure
when exactly these are called, might be dragging on performance?