add alias_method_chain :valid?, :server. valid? also checks for error messages sent back by the server.