def wildcard_allowed_principals(self, pattern=None):
wildcard_allowed = []<EOL>for statement in self.statements:<EOL><INDENT>if statement.wildcard_principals(pattern) and statement.effect == "<STR_LIT>":<EOL><INDENT>wildcard_allowed.append(statement)<EOL><DEDENT><DEDENT>return wildcard_allowed<EOL>
Find statements which allow wildcard principals.

A pattern can be specified for the wildcard principal