'Parse a marker query param into something usable.'

def _get_marker(self, req):

    marker = req.params.get('marker')
    if (marker and (not uuidutils.is_uuid_like(marker))):
        msg = _('Invalid    marker    format')
        raise exc.HTTPBadRequest(explanation=msg)
    return marker
