What Twitter considers a duplicate tweet is kind of subject to change and there’s no direct way to determine besides attempting to send a possibly duplicative tweet and getting that response back. The only other alternative I can think of is to review the user’s statuses/user_timeline and make some “guesses” when evaluating user input on whether its duplicative of a recent tweet.