just use `if ($plugin)` 

space between `))` and `{` per CakePHP Code standard