title: Checking if tweet is in reply to deleted tweet
body: <p>I'm writing a program to scrape tweets between two specific dates from a user, while making sure that they are not retweets or replies. I am using <strong>snscrape</strong> and <strong>tweepy</strong>.</p>
  <pre><code>for i, tweet in enumerate(sntwitter.TwitterSearchScraper('from:' + lines[x] + ' since:' + startDate + ' until:' + endDate).get_items()):
      if tweet.retweetedTweet is None and tweet.inReplyToTweetId is None and tweet.inReplyToUser is None:
  </code></pre>
  <p>This is what I have for the check, however, if the tweet is in reply to a tweet that has been deleted, then the tweet is no longer considered a reply and the check passes as <code>None</code>. Is there a way around this? I'm looking at pulling tweets from large companies like Tesco and Sainsburys and manually sorting through their tweets by hand will be tedious and want to find a way to fix this within the code.</p>
  <p>An example of this is <a href="https://twitter.com/Tesco/status/1457793089330814984" rel="nofollow noreferrer">this tweet</a>, as the code passes the check for <code>inReplyToTweetId is None</code></p>
  <p>Any help would be greatly appreciated, thank you.</p>