code: @Override
      public Role getRole() {
          return is(NodeFlag.MASTER) ? Role.MASTER : Role.SLAVE;
      }
docs: Returns the {@link Role} of the Redis Cluster node based on the {@link #getFlags() flags}.
  
  @return the Redis Cluster node role