Modified implementation of extension method.

The List.IsNullOrEmpty extension method threw an exception if/when the
list is null.  This exception was never handled anywhere in the codebase
and it was safe to refactor the method to return a boolean instead of
throwing an exception.