def METHOD_NAME(self):
    """
    Checks if Qubes works under heads
    """
    if "Heads" in self.dom0_hwids_info:
        self.heads_version = None
        hwids = self.dom0_hwids_info.split("\n")
        for line in hwids:
            if "Heads" in line:
                self.heads_version = line.split("Heads-v")[1]
    else:
        print("Device is not running under the heads firmware!!")
        print("Exiting...")
        return EXIT_CODES["NOTHING_TO_DO"]