replicator/lib/ruby/pg-wal-plugin.rb
def is_master
    if get_role() == "master"
      true
    else
      false
    end
  end
# Return true if we are master. 
Return true if we are master.
Return true if we are master .
def is_master
    if get_role() == "master"
      true
    else
      false
    end
  end
def is_master if get_role ( ) == "master" true else false end end
Return true if we are master.
Return true if we are master .