IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[SomeTable$Some Doc]') AND type in (N'U'))
UPDATE[SomeTable$Some Doc]
SET ...
----
===== Alternatively =====
IF EXISTS (SELECT 1 FROM SomeTable WHERE Name = 'somename')