remove duplication of get_is_multistate function in xnet_utils