def allows_not_principal(self):
not_principals = []<EOL>for statement in self.statements:<EOL><INDENT>if statement.not_principal and statement.effect == "<STR_LIT>":<EOL><INDENT>not_principals.append(statement)<EOL><DEDENT><DEDENT>return not_principals<EOL>
Find allowed not-principals.