Returns whether the given object is valid.
@protected bool isObjectValid(T object) => object == _validObject;