def __is_valid(loc_data):
<EOL>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 (sens_data is not None and                         <EOL>func(sens_data) != <NUM_LIT:0> and                         <EOL>func(sens_data) != "<STR_LIT>"):<EOL><INDENT>return True<EOL><DEDENT><DEDENT><DEDENT><DEDENT>
Determine if this can be valid data (not all 0's).