title: Boolean parameters for SpecFlow steps
body: <p>In SpecFlow, I want to check for the presence of a string in a step definition and at the moment I am doing clunky things like this contrived example:</p>
  
  <pre><code>[Given(@"Foo ( bar)?")]
  public void GivenFoo(string bar)
  {
      if (bar == " bar")
      {
          // do bar
      }
  }
  </code></pre>
  
  <p>However, I'd like to do something like this:</p>
  
  <pre><code>[Given(@"Foo ( bar)?")]
  public void GivenFoo(bool bar)
  {
      if (bar)
      {
          // do bar
      }
  }
  </code></pre>
  
  <p>But I can't find out how, so is this possible and if so how?</p>