def updateCheckNeeded():
    return len([item for item in getOptionalInstallItems()
                if item.get('updatecheck_needed')]) != 0
DRY routine for calling a spatial stored procedure on a geometry column
dataset/ETHPy150Open munki/munki/code/apps/Managed Software Center/Managed Software Center/MunkiItems.py/updateCheckNeeded--crossover with--dataset/ETHPy150Open django/django/django/contrib/gis/db/models/query.py/GeoQuerySet._spatial_attribute