code: public boolean canRun(Process process)
      {
          boolean can_run = restriction == null ? true : restriction.canRun(process.getQueue(), process);
          if (can_run && parent_queue != null)
              return parent_queue.canRun(process);
          return can_run;
      }
docs: Check with this Queue and the parent Queue whether the supplied Process can run.