def get_cls(name, fallback_cls=conf.raw_layer):
 return globals().get(name, fallback_cls)

def get_cls ( name , fallback_cls = conf . raw_layer ) : return globals ( ) . get ( name , fallback_cls )
returns class named "name" if it exists .