def METHOD_NAME (value):
    """ If value is a sequence, returns it.
        If it is a string, returns a sequence with value as its sole element.
        """
    if not value:
        return []
    if isinstance (value, str):
        return [value]
    else:
        return value