code: def check_hardware_virtualization(self, source_node):
          
  
          for project in self._projects.values():
              for node in project.nodes:
                  if node == source_node:
                      continue
                  if node.hw_virtualization and node.__class__.__name__ != source_node.__class__.__name__:
                      return False
          return True
docs: Checks if hardware virtualization can be used.
  
          :returns: boolean