introduced isSqlResult() which encapsulates checking MySQL/i results