I think it could have been racially biased if the persons reason for the accusation was because he was black. On the other hand he could have really thought he saw it, in which case it would have nothing to do with race.
The only way to know for sure would be to know what the cashier was thinking and that is impossible.
I think racism is horrible but I also hate when people automatically default to race any time someone says something derogatory.