'Find a subclass with a given name'

@classmethod
def find_subclass(cls, name):

    if (name == cls.__name__):
        return cls
    for sc in cls.__sub_classes__:
        r = sc.find_subclass(name)
        if (r is not None):
            return r
