Wrangler bash script issues

In a bash script, I need to see if a wrangler get call returns any records from a KV. I’ve been unable to perform any of the regular programming checks having tried equals empty string or null, also having tried logical not. In addition, I’m not able to assign it to a variable.

Anyone have any tips?