結果 : bash function to check if variable exists