Null check for ViewUtils