tspacket empty pointer test and check