code: public SupervisorDetails getSupervisorById(String nodeId) {
          if (this.supervisors.containsKey(nodeId)) {
              return this.supervisors.get(nodeId);
          }
  
          return null;
      }
docs: Get a specific supervisor with the <code>nodeId</code>