Example #1
0
 def can_disable_local_banner(self):
     context = self._get_real_context()
     return (ILocalBannerActivated.providedBy(context))
Example #2
0
 def can_disable_local_banner(self):
     context = self._get_real_context()
     return(ILocalBannerActivated.providedBy(context))
Example #3
0
 def is_enabled(self):
     context = self._get_real_context()
     return self.banner_root is not None or ILocalBannerActivated.providedBy(
         context)
Example #4
0
 def is_enabled(self):
     context = self._get_real_context()
     return self.banner_root is not None or ILocalBannerActivated.providedBy(context)