Issue #24937:ensure that _site is valid

Why wouldn't we alter the `isValid` function to do what it's supposed to do?