I have to get the type of a variable and when I type `type(variable)` I get this :

```
<class 'Mytable.models.User'>

```

And I would like to equal the type of a variable I mean I try to write this :

```
type(variable) == Mytable.models.User

```

but I got False. 

Could you help me please ?