def getVisibility(name):
    """
    Returns the visibility of the given name by convention
    """
    
    if name.startswith("__"):
        return "private"
    elif name.startswith("_"):
        return "internal"
    else:
        return "public"