improve _sanitize_ohlc() by using built-in all() and iterating over list of keys