Make isEventInCalendar async.