X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=geni%2Futil%2Frights.py;h=50f1374d6b0365b1d1d639b7ec327f8f1adf835a;hb=1558d5577c91788ef01eab10f6dfadef7c51b511;hp=84c5f1e7f112145ba19bb4999e2cf63f57c8e5ca;hpb=39f550455dfb790ada7d04b3aa1cc48ebb127809;p=sfa.git diff --git a/geni/util/rights.py b/geni/util/rights.py index 84c5f1e7..50f1374d 100644 --- a/geni/util/rights.py +++ b/geni/util/rights.py @@ -126,6 +126,9 @@ class RightList: if string: self.load_from_string(string) + def is_empty(self): + return self.rights == [] + ## # Add a right to this list #