Extension method for NullOrEmpty.

Extension method for NullOrEmpty.