code: public boolean shouldConfigureVirtualenv() {
      if(this.configureVirtualenv == ConfigureVirtualenv.NO) {
        return false;
      } else if(this.configureVirtualenv == ConfigureVirtualenv.YES) {
        return true;
      } else {
        final Optional<File> whichVirtualenv = this.which("virtualenv");
        return whichVirtualenv.isPresent();
      }
    }
docs: Determines if a virtualenv should be created for Galaxy.
  @return True iff a virtualenv should be created.