def __is_dunder__(name: str) -> bool:
    """
    Function to check if item is a dunder item (starting and ending with double underscores)

    :param name: Name of the item
    :return: Boolean depicting if object is dunder or not
    """
    return (len(name) > 5) and (name[:2] == name[-2:] == '__') and name[2] != "_" and name[-3] != '_'