if all(char not in [';', '[', ']', '(', ')', '{', '}', ':', 'as'] for char in child_fragment):Retriever·Sep 1, 2023·1 min read if all(char not in [';', '[', ']', '(', ')', '{', '}', ':', 'as'] for char in child_fragment): Python 3 Share this