if you HAVE to keep the cb optional you can lazy evaluate.
return cb && cb(err);