'Return True if this parameter type matches the name *typ*.
This can occur either of two ways:
- If self.type() == *typ*
- If this parameter\'s class is registered with the name *typ*'

def isType(self, typ):

    if (self.type() == typ):
        return True
    global PARAM_TYPES
    cls = PARAM_TYPES.get(typ, None)
    if (cls is None):
        raise Exception(("Type    name    '%s'    is    not    registered." % str(typ)))
    return (self.__class__ is cls)
