... if its very low current, you can use a buck/boost capacitor regulator or sepic switcher module, so that it can take in less than or greater than 5V, while still outputting 5V,
Or if you want a crude solution, crowbar circuit set to trip on 5.1V, i promise you just about any 5V rail you use would trip it,