Check if an object is a Dictionary of any type - C#