Suppose I have a class 

```
public class Entity<T> { ... // class definition ... }

```

And say I have bit of code like:

```
var a = new Entity<string>();
var b = new Entity<int>();
var c = new Entity<bool>();
var d = new int;
var e = new List<string>();

```

How do I test that an object is of type "Entity" regardless of the type of T? Such that:

```
a is Entity    // true
b is Entity    // true
c is Entity    // true
d is Entity    // false
e is Entity    // false

```