Sql server check if master key exists