panos_util/objects.py
def alert_only(self) -> bool:
        """Returns True if this profile has only alert rules."""
        if len(self.rules) > 0:
            for rule in self.rules:
                if not rule.alert_only():
                    return False
            return True
        else:
            return False
Returns True if this profile has only alert rules.
Returns True if this profile has only alert rules.
Returns True if this profile has only alert rules .
def alert_only(self) -> bool:
        if len(self.rules) > 0:
            for rule in self.rules:
                if not rule.alert_only():
                    return False
            return True
        else:
            return False
def alert_only ( self ) -> bool : if len ( self . rules ) > 0 : for rule in self . rules : if not rule . alert_only ( ) : return False return True else : return False
Returns True if this profile has only alert rules.
Returns True if this profile has only alert rules .
"""Returns True if this profile has only alert rules."""
self