I am building a flow that takes an email address from a SP form column that a user has input and searches for it using the O365 Card 'Search for users v2'. Now, the output body/value from the Search for users card either look like this if the user doesn't exist:

Or like this, if they do:

I then have a condition that basically checks if the body is blank, and if so, it goes into send a guest invitation and if not, to tell the person who submitted the form they already exist.
I am testing this part for now, and here's how my flow looks:

I've tried changing the condition to value equals <left the field blank> and also equals 'null', but whether the email exists or not I the flow proceeds to send the email from the shared mailbox.
I've tried using the solution in this post to no avail, as I just get the error: "Unable to process template language expressions for action 'Condition' at line '1' and column '19147': 'The template language function 'length' expects its parameter to be an array or a string. The provided value is of type 'Object'. Please see https://aka.ms/logicexpressions#length for usage details.'." despite the fact I'm trying to to the exact same thing.
This can't be this difficult. Please help!