I'm using the following code to determine whether the input parameter is a class or a variable:

```
class Trajectory():
  ...

print inspect.isclass( Trajectory() )

```

where the Trajectory is a class, but when I'm calling this function I'm receiving false. Why? 

According the documentation this have to be true

```
inspect.isclass(object)

    Return true if the object is a class, whether built-in or created in Python code.

```