Index: /trunk/include/VBox/com/array.h
===================================================================
--- /trunk/include/VBox/com/array.h	(revision 29930)
+++ /trunk/include/VBox/com/array.h	(revision 29931)
@@ -710,4 +710,9 @@
      */
     bool isNull() const { return m.arr == NULL; }
+
+    /**
+     * Returns @c true if this instance does not represents a null array.
+     */
+    bool isNotNull() const { return m.arr != NULL; }
 
     /**
Index: /trunk/include/VBox/com/ptr.h
===================================================================
--- /trunk/include/VBox/com/ptr.h	(revision 29930)
+++ /trunk/include/VBox/com/ptr.h	(revision 29931)
@@ -200,4 +200,9 @@
     {
         return (p == NULL);
+    }
+
+    bool isNotNull() const
+    {
+        return (p != NULL);
     }
 
