def related_to_hardware(cpes):
    """
    Return True if the CVE item is related to hardware.
    """
    for cpe in cpes:
        cpe_comps = cpe.split(":")
        # CPE follow the format cpe:cpe_version:product_type:vendor:product
        if len(cpe_comps) > 2 and cpe_comps[2] == "h":
            return True

    return False