adds 'exists' condition to if statement

  syntax:

    if x exists
      span x exists!
    else
      span x does not exist!