to_be_enabled() is the standard function to use but sometimes it’s not working

You can leverage the power of inner_html():

for i in toggles:
        assert "disabled" in i.locator('xpath=..').inner_html()