Use Yoda condition in SwiftmailerExtension

Optimize condition, it's more proper and clear this way.