How can i validate an Aptos wallet address programmatically?

I’m making a dapp and i want to validate users wallet address on backend but i couldn’t find any docs about validating address. If someone knows answers i would be very grateful thanks.