def nonwhitelisted_allowed_principals(self, whitelist=None):
if not whitelist:<EOL><INDENT>return []<EOL><DEDENT>nonwhitelisted = []<EOL>for statement in self.statements:<EOL><INDENT>if statement.non_whitelisted_principals(whitelist) and statement.effect == "<STR_LIT>":<EOL><INDENT>nonwhitelisted.append(statement)<EOL><DEDENT><DEDENT>return nonwhitelisted<EOL>
Find non whitelisted allowed principals.