GetPickpocketableFlag

// returns TRUE if the item CAN be pickpocketed int GetPickpocketableFlag(object oItem)

WARNING: This function is missing from NWN2 and thus any script which is imported that uses this funtion will fail to compile