def get_top_slickdeals(feed, keyword=None):
    """
    Purpose:
        Responsible for looping through the feed object and pulling the
        top 25 deals and filtering out any deals that do not match the
        keyword provided
    Args:
        feed (Feed Object): Feed object from feedparser of the RSS Feed
        keyword (String): keyword to filter deals on (if applicable)
    Return:
        deals (List of Strings): Title of all deals pulled
    """

    if keyword:
        return [
            deal["title"]
            for deal in feed["entries"]
            if keyword.lower() in deal["title"].lower()
        ]
    else:
        return [deal["title"] for deal in feed["entries"]]