<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_security_zones_activation(self) -> (bool, bool):

 """ returns the value of the security zones if they are armed or not
 
 Returns
 internal
 True if the internal zone is armed
 external
 True if the external zone is armed
 """

        internal_active = False
        external_active = False
        for g in self.groups:
            if isinstance(g, SecurityZoneGroup):
                if g.label == "EXTERNAL":
                    external_active = g.active
                elif g.label == "INTERNAL":
                    internal_active = g.active
        return internal_active, external_active