How to check if a value is the same as other in DataStoreService?

I am making a clan system, and I need to know if a name is equal to another name that is in that DataStore.
If you need more information, please reply and tell me your question.