stack: assign2: When we must check for self assignment.