def METHOD_NAME(class_reference):
    """ Coerces a class or class reference to a Class.
    >>> from rpw.utils.coerce import to_class
    >>> to_class('Wall')
    [ DB.Wall ]
    >>> to_class(Wall)
    [ DB.Wall ]
    Args:
        class_reference ([``DB.Wall``, ``str``]): Class Reference or class name
    Returns:
        [``type``]: Class
    """
    if isinstance(class_reference, str):
        return getattr(DB, class_reference)
    if isinstance(class_reference, type):
        return class_reference
    raise RpwTypeError('Class Type, Class Type Name', type(class_reference))