app/soc/logic/lists.py
changeset 1458 ec06d3ee73e4
parent 1308 35b75ffcbb37
child 1679 2b28763da7a4
--- a/app/soc/logic/lists.py	Sun Feb 22 10:55:24 2009 +0000
+++ b/app/soc/logic/lists.py	Sun Feb 22 11:17:46 2009 +0000
@@ -108,6 +108,12 @@
 
     return self.get('row')
 
+  def empty(self):
+    """Returns true iff there are no lists
+    """
+
+    return not self._lists
+
   def lists(self):
     """Returns a list of numbers the size of the amount of lists.