[Misc] Apply SonarCloud rule cpp:S6171
SonarCloud rule fix
- Rule name: Use "contains" member function
- Rule code: S6171
- Rule link: https://sonarcloud.io/organizations/cern-cta/rules?open=cpp%3AS6171&rule_key=cpp%3AS6171
Other comments
Edited by Konstantina Skovola