def METHOD_NAME(cls, name, parent=None, description=None):
    """Create a new folder.
    Parameters
    ----------
    name : str
        The name of the new folder
    parent : str or dict, optional
        The parent folder for this folder, if any.  Can be a folder name, id, or dict response from `get_folder`.
        If not specified, new folder will be created under root folder.
    description : str, optional
        A description of the folder
    Returns
    -------
    RestObj
        Details of newly-created folder
    """
    if parent is not None:
        parent_obj = cls.get_folder(parent)
        parent_uri = cls.get_link(parent_obj, "self")
        if parent_uri is None:
            raise ValueError(f"`parent` folder {parent} does not exist.")
        parent_uri = parent_uri["uri"]
    else:
        parent_uri = None
    body = {"name": name, "description": description, "folderType": "folder"}
    return cls.post(
        "/folders",
        json=body,
        params={"parentFolderUri": parent_uri},
        headers={"Content-Type": "application/vnd.sas.content.folder+json"},
    )