this can be simplified: ``return false === strpos($result, "error")``