Anyway, apps have literally no reason to query the status of developer mode and should not be allowed to do so.
I don't think apps should be able to query the status of the OS' "integrity" either (which in practice just boils down to a "Google-approved" boolean anyway), but they do at least have somewhat legitimate reasons for wanting to do that -- Pokemon Go wants to make sure the GPS coordinates it receives aren't spoofed, for example.
But there is no reason they should be able to query the status of developer mode.
I know apps looking for root but never for developer mode (didn't even know you could know its state).
Of all the things one might want to do with one's device, this is probably the most reasonable to gate behind integrity checks. But I don't have to like it :P.