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

### String checking Routines ###
Testing the attr_value() method.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/contrib/gis/gdal/prototypes/errcheck.py/check_bool--crossover with--dataset/ETHPy150Open django/django/tests/gis_tests/gdal_tests/test_srs.py/SpatialRefTest.test13_attr_value