def filter_root_only(self, queryset, value):
        if qpbool(value):
            return queryset.filter(parent=None)
        return queryset
Converts ``root_only`` to null parent filter.
dataset/ETHPy150Open dropbox/nsot/nsot/api/filters.py/NetworkFilter.filter_root_only