added function is_undefined
working on multicast de-multiplexing