I vaguely recall a way to determine the type of an object but i can be mistaken