How can I check to see if a used transmission is still good?

Probably less than 150,000 miles,lol