data/train/cpp/323d6e1ca67ea9d4ed5ae3db303ae8a4000cfd92Sample.cc
bool IsSample(const std::string& sample_name)
    {
        for (const auto& sample_info : Sample::GetInfos())
        {
            if (sample_info.name == sample_name)
            {
                return true; 
            }
        }
        return false;
    }
// test if a string is a sample name 
test if a string is a sample name
test if a string is a sample name
bool IsSample(const std::string& sample_name)
    {
        for (const auto& sample_info : Sample::GetInfos())
        {
            if (sample_info.name == sample_name)
            {
                return true; 
            }
        }
        return false;
    }
bool IsSample ( const std :: string & sample_name ) { for ( const auto & sample_info : Sample :: GetInfos ( ) ) { if ( sample_info . name == sample_name ) { return true ; } } return false ; }
test if a string is a sample name
test if a string is a sample name