Add isPretending()
Merge pull request #4746 from lucasmichot/mail-is-pretending

[4.2] Mail : add isPretending()