Describe the problem
There is a bug for 'aws_iam_inline_policy' resource where it is giving some false positives. We have this inline policy:

The 'has_statement' check is returning 'true' even when there is no policy statement matching that.
Possible Solution
Fix bug in the resource pack where 'has_statement' function is defined and data is parsed