def METHOD_NAME(self, magic_key):
    values = set()
    with open('/proc/cpuinfo') as fd:
        for line in fd:
            if not line.startswith(magic_key):
                continue
            flags_value = [s.strip() for s in line.split(':', 1)]
            if len(flags_value) == 2:
                values = values.union(flags_value[1].upper().split())
    return values