Simplified key check, per @sethvargo's guidance