def isclassname(text):
    """Return True is text is an uppercased name (skipping starting underscores)."""
    for c in text:
        if c.isupper():
            return True
        elif c is not '_':
            return False
    return False
