code: public @CheckForNull Label getAssignedLabel() {
          if(canRoam)
              return null;
  
          if(assignedNode==null)
              return Jenkins.getInstance().getSelfLabel();
          return Jenkins.getInstance().getLabel(assignedNode);
      }
docs: If this project is configured to be always built on this node,
  return that {@link Node}. Otherwise null.