tidy: fix readability-container-contains

Tested by building and running the unit tests.

Change-Id: I146a62e54d37d8cb4b7f75f3ed8872f0c80bbb49
Signed-off-by: Brad Bishop <bradbish@qti.qualcomm.com>
diff --git a/src/handler.cpp b/src/handler.cpp
index 902ae66..5575f2d 100644
--- a/src/handler.cpp
+++ b/src/handler.cpp
@@ -48,7 +48,7 @@
     {
         reqPath.pop_back();
     }
-    if (!reqPath.empty() && interfaceMap.find(reqPath) == interfaceMap.end())
+    if (!reqPath.empty() && !interfaceMap.contains(reqPath))
     {
         throw sdbusplus::xyz::openbmc_project::Common::Error::
             ResourceNotFound();