Instructor constantly texting during lessons?

My driving instructor /teacher is looking at his phone texting 90% of the time during my in car lessons. Is this normal / legal behaviour from an instructor? I think that as I'm paying for this person's time I should expect their full attention shouldn't I? Also it seems quite dangerous as they do this even when we're in heavy traffic.