'Checks if we have any rules expanded from the \'private\' keyword. Tor
appends these by default to the start of the policy and includes a dynamic
address (the relay\'s public IP).
.. versionadded:: 1.3.0
:returns: **True** if we have any private rules expanded from the \'private\'
keyword, **False** otherwise'

def has_private(self):

    for rule in self._get_rules():
        if rule.is_private():
            return True
    return False
