Move all pvalue type-checking to beginning of function, so that all processing comes *after*.
Move all pvalue type-checking to beginning of function, so that all processing comes *after*.

MarcNo/lifelines,MarcNo/lifelines,disassembler/Lifelines,MarcNo/lifelines,disassembler/Lifelines,MarcNo/lifelines,disassembler/Lifelines,disassembler/Lifelines