Function isValidAddress

Check if a wallet address is valid.