The side loot context parameter contains the side, which can then be used to check for the side in the minecraft:side_check predicate. This could for example be the side a Dispenser is facing when fired, or the side of a block an item was used on.
side