Better isFunction method

If you use space between `function` keyword and the brackets, Jobby can't recognize function.

ie.:

```php
$jobby->add(
    'LogRotateAndCleanup',
    [
        'command' => function () use ($tmp) {
        }
    ]
);
```