<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _pick_attrs(attrs, keys):
 """ Return attrs with keys in keys list """

    return dict((k, v) for k, v in attrs.items() if k in keys)