Checks if object
has a metatable. If it does, and if it corresponds to a
Torch
class, then returns a string containing the name of the
class. Returns nil
in any other cases.
A Torch class is a class created with torch.class()
or
torch.newmetatable()
.