Rename containsKey to hasKeyWithValueOfType.

Test: Updated unit tests.
Fixes: b/141916545
Change-Id: Ic08fc3c21d2ca6a9b03b6a76666a3fd2e56dd300
diff --git a/work/workmanager-ktx/api/restricted_current.txt b/work/workmanager-ktx/api/restricted_current.txt
index 303990d..5034937 100644
--- a/work/workmanager-ktx/api/restricted_current.txt
+++ b/work/workmanager-ktx/api/restricted_current.txt
@@ -13,7 +13,7 @@
 
   public final class DataKt {
     ctor public DataKt();
-    method public static inline <reified T> boolean containsKey(androidx.work.Data, String key);
+    method public static inline <reified T> boolean hasKeyWithValueOfType(androidx.work.Data, String key);
     method public static inline androidx.work.Data workDataOf(kotlin.Pair<java.lang.String,?>... pairs);
   }