FJ88 -
It is not a code requirement. Many 20 story loadbearing high rise masonry structures are built using partially grouted walls. Many codes (IBC, IRC, etc.) permit the use of hollow CMU construction, since there are cases where it is preferred. - It is just a "if does not work use a bigger hammer" or belt and supenders easy approach without looking further.
If the cores are filled, it should be required and filled according to code specification, not just dumping concrete since there are different specifications for grout and concrete.
A good deceased engineer friend and author always said "Do not count on what your are not sure about, able to observe or specify" - He said this in regard to his books on CMU structural seismic design and general masonry construction, but also applies to engineers attempting to do additions and modifications. We ran into this both above grade and below grade after the Northridge quake.
If the CMUs are filled as an afterthought or plan omissions, there should be a revision to the drawings or as-builts. Nothing is worse than an owner not having proper drawings and contracting with someone (GC, utility contractor, etc.) for revisions and run into sloppy drawings that do not reflect what was built.