pylint doesn't like lambdas or the filter function as list comprehensions can do the same (and faster).

Example:
```python
        dedicatedfws = [firewall for firewall in fwlans
                        if firewall['dedicatedFirewallFlag']]
```