Or:

    vagrantbox = lookupvar('vagrantbox')
    unless vagrantbox.nil? or vagrantbox == :undefined