entity-manager: probe: factor out probe logic

Move the probe matching logic to a function so unit tests can be written
for it.

Change-Id: Ie6d1ec82deb48437138c9065aea3a0eeacc9cffb
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/include/Utils.hpp b/include/Utils.hpp
index 90392fb..6e663e6 100644
--- a/include/Utils.hpp
+++ b/include/Utils.hpp
@@ -149,3 +149,9 @@
     }
     return true;
 }
+
+/// \brief Match a Dbus property against a probe statement.
+/// \param probe the probe statement to match against.
+/// \param dbusValue the property value being matched to a probe.
+/// \return true if the dbusValue matched the probe otherwise false.
+bool matchProbe(const nlohmann::json& probe, const BasicVariantType& dbusValue);