The way I normally deal with this foreign keys and references are by using EXISTS (Transact-SQL). By doing it this way, you have to use one EXISTS for every foreign key you want to check.
Another way of dealing with it is just to catch the exception and handling it in the code.