The Exists Index API is used to check if the index (indexes) exists or not.
For example:
HEAD /twitter/tweet/