[doc] Update return false if record is invalid