Looking for alternative to:

```
local foo=""

if [[ ! -z "$foo" ]]; then
  echo "foo is actually not empty."
fi

```

is there some way to check if a variable is defined (not empty) without negation?