User input empty

Is this what you are asking?

when: location != ''