CLN: Change assert_(a is [not] None) to specialized forms

Work on #6175. Changes instances of assert_(a is [not] None) to specialized assertIs[Not]None(a).
Merge pull request #6386 from bwignall/assert_6175_newAsserts_3

CLN: Change assert_(a is [not] None) to specialized forms