human
Here's a good function header given the following:
I wrote the below code

    def _matching_devices(spec):
        for (k, v) in spec.items():
            pci_dev_v = pci_dev.get(k)
            if (isinstance(v, list) and isinstance(pci_dev_v, list)):
                if (not all(((x in pci_dev.get(k)) for x in v))):
                    return False
            elif (pci_dev_v != v):
                return False
        return True
    return any((_matching_devices(spec) for spec in specs))

What's a good function header?
assistant
#Here's a good function header.

def pci_device_prop_match(pci_dev, specs):