braces around the instanceOf check are not needed.

However, spaces around the ``!`` are needed according to the coding standards