fixes #2614

added method for checking event registration