Exemple #1
0
 def can_disable_media(self):
     context = self._get_real_context()
     return (IMediaActivated.providedBy(context))
Exemple #2
0
 def can_disable_media(self):
     context = self._get_real_context()
     return(IMediaActivated.providedBy(context))
Exemple #3
0
 def is_enabled(self):
     # LATER : add caching here
     context = self._get_real_context()
     if IMediaActivated.providedBy(context):
         return True
     return False
Exemple #4
0
 def is_enabled(self):
     # LATER : add caching here
     context = self._get_real_context()
     if IMediaActivated.providedBy(context):
         return True
     return False