HI! I solve my issue:
Solution:
You loop through history records, for each record, you check if the SKUs of that history record (a property on it) contains the one of your purchase (the SKU you need to check if the user bought it), if you find such record which has such SKU means the user bought certain SKU.