If the network uses nickserv, you can use
Code:
/msg nickserv status <nick(s)>
to return a list consisting of the specified <nick(s)> and a numeric response of 0 - 3

See /msg nickserv help status for more details.