Use `[string]::IsNullOrEmpty` instead of two checks