<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def list_policies(zap_helper, policy_ids):
 """ Get a list of policies and whether or not they are enabled. """

    policies = filter_by_ids(zap_helper.zap.ascan.policies(), policy_ids)

    click.echo(tabulate([[p['id'], p['name'], p['enabled'], p['attackStrength'], p['alertThreshold']]
                         for p in policies],
                        headers=['ID', 'Name', 'Enabled', 'Strength', 'Threshold'],
                        tablefmt='grid'))