How can you tell if thread is cotton or polyester? I saw on here where you can burn fabric and tell. Does this also work with thread?

Thanks! :-)