original_string: protected function isSelectedFeature($featureName) {        
          $isSelected = false;
          foreach ($this->selectedArtifacts as $selectedArtifact)
              if ($featureName === $selectedArtifact->getFeature()->getName())
                  $isSelected = true;
          return $isSelected;
      }
code: protected function isSelectedFeature($featureName) {        
          $isSelected = false;
          foreach ($this->selectedArtifacts as $selectedArtifact)
              if ($featureName === $selectedArtifact->getFeature()->getName())
                  $isSelected = true;
          return $isSelected;
      }
code_tokens: protected function isSelectedFeature ( $ featureName ) { $ isSelected = false ; foreach ( $ this -> selectedArtifacts as $ selectedArtifact ) if ( $ featureName === $ selectedArtifact -> getFeature ( ) -> getName ( ) ) $ isSelected = true ; return $ isSelected ; }
docstring: Returns whether a feature's artifact is selected.
  @param string $featureName
  @return bool
docstring_tokens: Returns whether a feature s artifact is selected .