public function has($key, $value, $table = null) { return $this->getNumRows($key, $value, $table) != 0 ? true : false; }