pv: added kemi functions to test if xavp is null