proposing isPrimitive