def METHOD_NAME(string):
    """ Return True if 'string' ends with a backslash, and False otherwise.
        Define this as a named function for no other reason than that pep8
        now forbids binding of a lambda expression to a name:
        'E731 do not assign a lambda expression, use a def'
    """
    return string.endswith('\\')