def is_interesting_transaction(txdata, all_addresses):
    """Check if the transaction contains any deposits to our addresses."""
    return any([(detail["category"] == "receive" and detail["address"] in all_addresses) for detail in txdata["details"]])