I have blank cells in an attribute table I'd like to catch using python. These cells are not filled with <Null> but are simply blank. Will this statement catch all possibilities in a blank cell? The blank cells could only occur in string fields and would be produced using Collector Classic on an iPhone since, for some reason, it doesn't enforce required fields like an Android phone does and instead just fills required text fields with an empty value.
<SPAN class="keyword token">if</SPAN> x <SPAN class="operator token">==</SPAN> <SPAN class="punctuation token">[</SPAN>None<SPAN class="punctuation token">,</SPAN> <SPAN class="string token">''</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">' '</SPAN><SPAN class="punctuation token">]</SPAN><SPAN class="punctuation token">:</SPAN>
<SPAN class="comment token">#do something</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN></SPAN>I think None actually catches <Null> but can't hurt to have it there I guess.