How do I tell the object type?

In the Abaqus CAE CLI, if I type in:

string = "This is a string."

type(string) == str

It will output "True".

 

However, even if I type

odb = odbAccess.openOdb(path_to_odb)

type(odb)

It prompts out , but if I use

type(odb) == Odb

It will say "NameError: name 'Odb' is not defined."

 

Any ideas?

 

Thanks!