refactor(notify): use return when false to be consistent with other APIs