4 ms·'if not value.strip():' is a more thorough check that I think is better in most cases.by eurleif 14y ago'if not value.strip():' is a more thorough check that I think is better in most cases.