Removed usage of deprecated Nette\Callback

@fprochazka Don't merge this without proper review please.
Callback::check throws an exception which is not desired here.