Not cheating but very unsportsmanlike. On the other hand there is an old saying "Only a fool gets caught the same way twice" and another one which says "Once bitten; twice shy" while on the other side of the equation to give a one time offender the benefit of the doubt, it might just be a bad case of nervousness and misreading the situation