They're not necessary as GetValue() asserts when passed an invalid object anyhow, there is no need to check for this twice.