def _intersect_items(baselist, comparelist):
 return list((set(baselist) & set(comparelist)))

def _intersect_items ( baselist , comparelist ) : return list ( ( set ( baselist ) & set ( comparelist ) ) )
return matching items in both lists .