code: def _class_exists(self, classname, namespace):
          
          class_repo = self._get_class_repo(namespace)
          return classname in class_repo
docs: Test if class defined by classname parameter exists in
          repository defined by namespace parameter.
  
          Returns `True` if class exists and `False` if it does not exist.
  
          Exception if the namespace does not exist