return relay status