def one_rule_present(self, pol_id):
pol_dict = self.policies[pol_id]<EOL>for rule in pol_dict['<STR_LIT>']:<EOL><INDENT>if self.is_rule_present(rule):<EOL><INDENT>return True<EOL><DEDENT><DEDENT>return False<EOL>
Returns if atleast one rule is present in the policy.