'Parse deleted into something usable.'

def _parse_deleted_filter(self, req):

    deleted = req.params.get('deleted')
    if (deleted is None):
        return None
    return strutils.bool_from_string(deleted)
