code: public function checkboxAction($action, TableNode $checkboxes)
      {
          $minkContext = $this->getMinkContext();
  
          foreach ($checkboxes->getRows() as $checkbox) {
              $minkContext->{trim($action) . 'Option'}(reset($checkbox));
          }
      }
docs: @param string $action
  Can be "check" or "uncheck".
  @param TableNode $checkboxes
  Table with one row of checkboxes selectors.
  
  @example
  I uncheck the boxes:
  | Consumer Products  |
  | Financial Services |
  
  @example
  I check the boxes:
  | Consumer Products  |
  | Financial Services |
  
  @Given /^(?:|I )(?:|un)check the boxes:/