title: How to check if twitter username exists in python
body: <p>I want to check the twitter username exists or not in python. With API or without API is all acceptable.</p>
  <pre><code>consumer_key = '...'  
  consumer_secret     = '...'  
  access_token_key    = '...' 
  access_token_secret = '...'  
  auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
  auth.set_access_token(access_token_key, access_token_secret)
  
  api = tweepy.API(auth, wait_on_rate_limit=True, wait_on_rate_limit_notify=True)
  
  def twitter_is_alive(twitter_name):
      try:
          # I don't know how to check it
          return True
      except:
          return False
    
  twitter_is_alive('@valid') return True
  twitter_is_alive('@invalid') return False
  </code></pre>
  <p>I am really appreciate your help!</p>