You verify whether any data is still stored on the external SSD by first retrieving the device identifier for the physical external drive. You can get this from Disk Utility. It will be in the form of "diskX" where "X" will be a number. Use the following Terminal command, but make sure to replace "diskX" with the correct device identifier for your external SSD:
First you may need to unmount all volumes on that external drive:
diskutil unmountDisk diskX
Second, this will show you the raw data on the specified drive:
sudo hexdump -C /dev/diskX
The second command will prompt you for your admin password. Nothing will appear on the screen as you type the password, so press the "Return" key to submit the password.
Also, the output of the second command will scroll by extremely quickly, but most of it should be zeroes or at least the same value. Sometimes these apps will just stop scrolling and show the last line with all zeroes. Pressing Control + S will pause the scrolling, while pressing most any other key will resume scrolling. Because the macOS Disk Utility "Erase" feature always creates a partition & file system, you may see a few small bits of data mostly at the beginning of the drive/output. If you want to have it go by slowly, then just add " | less" to the end of the command which will allow you to scroll through the output (use Fn + Down Arrow to scroll down by a page/screen)....make the Terminal window to fit the height of the screen in order to view the most data possible for each screen/page full.
sudo hexdump -C /dev/diskX | less
If for some reason you don't have "hexdump" installed, then you can use "xxd" instead to get the same output (you can add " | less" to this command as well):
sudo xxd /dev/diskX
If you have TRIM enabled & working on the external SSD, then even a simple erase using Disk Utility will be enough to destroy all data on the SSD. I'm not sure when TRIM is not enabled, but eventually it will be zeroed as the others have mentioned with the SSD's Garbage Collection. To enable TRIM for third party SSDs, you can use the following Terminal command:
sudo trimforce enable
You may need to run Disk Utility First Aid scan on the external drive volume in order to force a TRIM event to occur right away assuming macOS & the SSD will allow TRIM to be enabled. You can check the Apple System Profiler to see if TRIM is shown as enabled for the specific drive.
Some SSD manufacturers include an option to perform a hardware secure erase using the SSD manufacturer's proprietary software. They may not make a macOS version of the software, so you may need a Windows system.
Of course the simplest option would be to encrypt the external SSD, then erase it destroying the encryption keys.