$condition !== null is faster than !is_null() as the first one doesn't require a function call.
Moreover, the opening brace "{" should be in a new line according to our coding standard