If start and opts.end are always strings you can use _.isEmpty and _isSpecified can be removed