If you've agreed it's cheating, then yes. I feel like cheating is based on the agreements in your relationship. It should be much more normal to discuss those lines before ever entering a relationship. Is flirting cheating for you or not? Do you consider certain kinds of emotional intimacy cheating? These are important things to nail down.