add a new isStoreToStackSlot method