Index: /trunk/include/VBox/com/ptr.h
===================================================================
--- /trunk/include/VBox/com/ptr.h	(revision 55602)
+++ /trunk/include/VBox/com/ptr.h	(revision 55603)
@@ -228,4 +228,13 @@
         return (m_p == NULL);
     }
+
+    /**
+     * Returns true if the pointer is not NULL.
+     */
+    bool isNotNull() const
+    {
+        return (m_p != NULL);
+    }
+
 
     bool operator<(T* p) const
