'Determine if this vhost has a redirecting statement'

def has_redirect(self):

    for directive_name in REDIRECT_DIRECTIVES:
        found = _find_directive(self.raw, directive_name)
        if (found is not None):
            return True
    return False
