FF: comparing with None should use `is` for anything that might be a numpy array

numpy arrays with more than one element might raise an error using the == comparison because of its ambiguity (are we comparing the array or each element?)