def METHOD_NAME(head: Object) -> bool:
    """
    Return whether a list has only one element.
    :param head: ``struct list_head *``
    """
    head = head.read_()
    next = head.next
    return next != head and next == head.prev