protected function isOk(\PDOStatement $query){
        $error= $query->errorInfo();
        if($error[0] == '00000'){
            return TRUE;
        }else{
            $this->catchError($error);
            return FALSE;
        }
    }