TrimCheck provides an easy way to test whether TRIM works on your SSD.
This program was written by Vladimir Panteleev.
You can find more information on the program's GitHub project page:
https://github.com/CyberShadow/trimcheck