CLN: clean up _is_sequence