FLUID-5205: switched to fluid.isPrimitive