check_household_head_age_brackets#

check_household_head_age_brackets(location)[source]#

Check that the household head age brackets is an array of arrays, where each sub array has length 2.

Parameters:

location (json) – the json object with location data

Returns:

[True, None] if checks pass. [False, str] if checks fail.