private static function mysqltcsCheck(Mysqltcs $mysqltcs)
    {
        if($mysqltcs == null || !($mysqltcs instanceof Mysqltcs)) {
            throw new MysqltcsException("mysqltcs passed is not an instance of Mysqltcs");
        }

        if (!$mysqltcs->isConnected()) {
            throw new MysqltcsException("mysqltcs passed is not connected");
        }
    }