If you want a boolean but still more compact an expression, you could go for:
```
return !!( list && list.length && ( !fn || jQuery.inArray(fn,list) > -1 ) );
```
Unless other think it too cryptic (and provided I got the logic right, which is not a given :P)