import re


def is_facade(struct):
    """
    Returns whether the struct name ends with the word `facade`.

    This function works with both snake_case and CamelCase patterns.
    """
    return re.match(r'.*(?:_f|F)acade$', struct.name) is not None