def is_cpu_control_policy_capable(self):
        try:
            with open("/proc/self/mounts", "r") as fd:
                for line in fd.readlines():
                    # mount options and split options
                    bits = line.split()[3].split(",")
                    if "cpu" in bits:
                        return True
                return False
        except IOError:
            return False
The corresponding attachment directory
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/libvirt/host.py/Host.is_cpu_control_policy_capable--crossover with--dataset/ETHPy150Open ShadowKyogre/mikidown/mikidown/mikitree.py/MikiTree.itemToAttachmentDir