class Eth::Client

def local?

Allows to determine if we work with a local connectoin
def local?
  if self.instance_of? Eth::Client::Ipc
    return true
  elsif self.host === "127.0.0.1" || self.host === "localhost"
    return true
  else
    return false
  end
end