Is there a true/false test in LSL for Flexible?
llGetPrimitiveParams seems to blindly grab the numbers whether the object is set flexi or not.
[SELF ANSWER]
integer flexi = llList2Integer(llGetPrimitiveParams([PRIM_FLEXIBLE]),0);
Although it's a tad quirky.