## Description
convert the existing compound if block into a func that does the same
thing and allow for more funcs that also do similar work. If the
ignore_funcs return true, any of them, they will not count as a lint
error
## Test Plan
cargo build
---
## Release notes
Check each box that your changes affect. If none of the boxes relate to
your changes, release notes aren't required.
For each box you select, include information after the relevant heading
that describes the impact of your changes that a user might notice and
any actions they must take to implement updates.
- [ ] Protocol:
- [ ] Nodes (Validators and Full nodes):
- [ ] Indexer:
- [ ] JSON-RPC:
- [ ] GraphQL:
- [ ] CLI:
- [ ] Rust SDK: