code: def star_resource_statements(self):
          
  
          star_resources = []
          for statement in self.statements:
              if not statement.resource:
                  continue
              if statement.resource == "*" or (isinstance(statement.resource, list) and "*" in statement.resource):
                  star_resources.append(statement)
          return star_resources
docs: Find statements with a resources that is a * or has a * in it.