It should be changed to:

```php
isDisabledRoute($route)
{
```
Also you need to add a blank line between `param` and `return`