Set mIsValid to true if check succeeded