I am not an expert and have to get my info from Newegg videos on the subject.
But they say, to see if TRIM is working, your can do the following:
Open an Administrative command prompt.
Type fsutil behavior query DisableDeleteNotify
If it returns a DisableDeleteNotify = 0 then trim is working.
They also go into what TRIM needs to work, such as using AHCI or RAID for the SATA controller.....