code: def checkResourceRequest(self, memory, cores, disk):
          
          assert memory is not None
          assert disk is not None
          assert cores is not None
          if cores > self.maxCores:
              raise InsufficientSystemResources('cores', cores, self.maxCores)
          if memory > self.maxMemory:
              raise InsufficientSystemResources('memory', memory, self.maxMemory)
          if disk > self.maxDisk:
              raise InsufficientSystemResources('disk', disk, self.maxDisk)
docs: Check resource request is not greater than that available or allowed.
  
          :param int memory: amount of memory being requested, in bytes
  
          :param float cores: number of cores being requested
  
          :param int disk: amount of disk space being requested, in bytes
  
          :raise InsufficientSystemResources: raised when a resource is requested in an amount
                 greater than allowed