def get_record_timestamp (self, record):
    return parse(record['date']) if record in 'date' else None
dataset/ETHPy150Open openaps/openaps/openaps/vendors/medtronic.py/iter_glucose_hours.get_record_timestamp/swapped operands of `in`