You can check the Approved Sponsors’ Register published regularly by the UK Home Office. If you can find your employer on the list, you can rest assured the job offer is valid.
In case you don’t find your UK employer name on the list in the Register, it’s advised that you refrain from going ahead. It may be a bogus offer.