correct check for rich notifications