VAT - if a foreign company tells you they have VAT are they legit?

I found a supplier over seas and have been emailing back and forth. They have given me their VAT number but I want to find out if this means anything as far as legitimate company. I’ve spent the past several weeks scouring the web and everything seems to good to be true. Does a company having a VAT mean anything for trustability?