import re


def parse_for_order_by_desc(sql, col_name):
    """Checks whether the SQL statement contains an ORDER BY clause for the
       specified column name, followed by DESC (meaning descending order);
       returns True if so, otherwise False.
    """
    desc_expr = re.compile(r"ORDER BY([\s\w.]*,)*\s+(\w+\.)?" + col_name.upper() + "\s+DESC")
    result = desc_expr.search(sql)
    if result:
        return True
    else:
        return False