def is_grocery(txn):
    """Return boolean whether or not the input transaction is a grocery transaction."""
    content = txn.content
    grocery_keywords = ["Martin's Supermarket", "Fresh Thyme", "Wholefds", "Down to Earth"]
    return any(kwd.upper() in content.upper() for kwd in grocery_keywords)