code: def registeredView(viewName, location='Central'):
          
          loc = nativestring(location)
          view = XView._registry.get(loc, {}).get(viewName, None)
          if not view:
              for view in XView._registry.get(nativestring(location), {}).values():
                  if view.__name__ == viewName:
                      return view
          return view
docs: Returns the view that is registered to the inputed location for the \
          given name.
          
          :param      viewName | <str>
                      location | <str>
          
          :return     <subclass of XView> || None