<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def _build_members(members, anycheck=False):
    '''
    Builds a member formatted string for XML operation.

    '''
    if isinstance(members, list):

        # This check will strip down members to a single any statement
        if anycheck and 'any' in members:
            return "<member>any</member>"
        response = ""
        for m in members:
            response += "<member>{0}</member>".format(m)
        return response
    else:
        return "<member>{0}</member>".format(members)