I am currently using a piece of code like this:
if (( $( eval "echo \\${+$foo}" ) )); then ./foo fi
Is there a more elegant or co