added the isVariable() method to type wrappers