code: @OverridingMethodsMustInvokeSuper
      public boolean isAcceptingTasks() {
          final Node node = getNode();
          return getRetentionStrategy().isAcceptingTasks(this) && (node == null || node.isAcceptingTasks());
      }
docs: Returns {@code true} if the computer is accepting tasks. Needed to allow agents programmatic suspension of task
  scheduling that does not overlap with being offline.
  
  @return {@code true} if the computer is accepting tasks
  @see hudson.slaves.RetentionStrategy#isAcceptingTasks(Computer)
  @see hudson.model.Node#isAcceptingTasks()