test if payload is set