diff --git a/tools/oneclick/base/common.py b/tools/oneclick/base/common.py
index 01d1d8c7fc1e601f5a1b56c240a785c031369170..e5a044ca1bd641eef67e9ee55933a8024971e108 100644
--- a/tools/oneclick/base/common.py
+++ b/tools/oneclick/base/common.py
@@ -421,6 +421,17 @@ def index_a_in_multi_b(a, b):
         pass
     return None
 
+def exist_all_elements_from_a_in_b(a, b):
+    """Return True if all elements in a are also in list b, else return False.
+       
+       Both a and b can be a one dimensional list or a single object.
+    """
+    for i in listify(a):
+        if i not in listify(b):
+            return False
+    return True
+    
+
 def find_indices_where(in_list, value, condition=operator.eq):
     """Return list of indices in in_list that match the condition value