{ if (this.getTree() == null) {   return false; }
{ boolean retval = false;
  public boolean isPopulatedForGranting()  {    if (this.getTree() == null)    {      // This Subsystem has no Tree, and so none of its Functions      // can be granted.      return false;    }    if (this.getTree().getRoots().size() == 0)    {      // This Tree contains no TreeNodes, and so none of the      // Functions in this Subsystem can actually be granted.      return false;    }    if (this.getFunctions().size() == 0)    {      // This Subsystem contains no Functions, so there's      // no granting to be done nohow.      return false;    }    // If we've gotten this far, this thing must contain something    // worth granting.    return true;  }