def __is_valid(loc_data):
for key, [value, func] in SENSOR_TYPES.items():<EOL><INDENT>if (key != CONDITION and key != STATIONNAME and key != MEASURED):<EOL><INDENT>if (func is not None):<EOL><INDENT>sens_data = loc_data.get(value)<EOL>if func(sens_data) != <NUM_LIT:0>:<EOL><INDENT>return True<EOL><DEDENT><DEDENT><DEDENT><DEDENT>
Determine if this can be valid data (not all 0's).