def METHOD_NAME(control):
    """
    ctw stands for control_test_wrap, but ctw is shorter and easier. using
    begin_str and end_str to take out the wrap that xml gives us
    """
    if isinstance(control, list) and len(control) == 1:
        control = control[0]
    return control.toxml()