Change `void accept` to `boolean accept`

As per a change @akarnokd did elsewhere with `accept2` method.
Merge pull request #1295 from benjchristensen/notification-lite

Change `void accept` to `boolean accept`