Yeah, just wanted to use the same pattern we are currently using in other libraries of the app but totally agree with you ;-)

Anyhow, I would maintain the if clause for performance reasons :-)