def METHOD_NAME(METHOD_NAME="", title="Message", buttons=["OK"], parent=None):
    """Displays a message to the user as a model window with the specified
    title and buttons.
    If *buttons* is not specified, a single **OK** button is used, which is
    appropriate for notifications, where no further action or decision on the
    user's part is required.
    """
    msg = Message(METHOD_NAME=METHOD_NAME)
    ui = msg.edit_traits(
        parent=parent,
        view=View(
            ["message~", "|<>"], title=title, buttons=buttons, kind="modal"
        ),
    )
    return ui.result