Is this flirting?

Sometimes at the checkout line the cashier says have a good day sweetheart or honey

Is this flirting?
Post Opinion