Added isExpressionNull util method

This will check if an expression results in null
Fixed a bug where the "Expected expression" error would not appear