Deprecate Block::isValid method