def check_bool(result, func, cargs):
    if bool(result): return True
    else: return False

### String checking Routines ###
Returns the boolean evaluation of the value.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/contrib/gis/gdal/prototypes/errcheck.py/check_bool