Can just use: if 'date' in node instead.