code: def wildcard_allowed_actions(self, pattern=None):
          
  
          wildcard_allowed = []
  
          for statement in self.statements:
              if statement.wildcard_actions(pattern) and statement.effect == "Allow":
                  wildcard_allowed.append(statement)
  
          return wildcard_allowed
docs: Find statements which allow wildcard actions.
  
          A pattern can be specified for the wildcard action