I was trying to detect it using api, but I figured out that list=user which can do that, doesn't work on IP's.
what could work is list=blocks but that doesn't return if block is active or not, it just list all of them.
I need to get a simple "yes/no" result, is there any way to do that?