original_string: public function canDelete($category_group_id)
      {
          $sql = 'SELECT category_id FROM category WHERE category_group_id=?';
          $result = $this->db->fetchColumn($sql, array($category_group_id));
          return empty($result);
      }
code: public function canDelete($category_group_id)
      {
          $sql = 'SELECT category_id FROM category WHERE category_group_id=?';
          $result = $this->db->fetchColumn($sql, array($category_group_id));
          return empty($result);
      }
code_tokens: public function canDelete ( $ category_group_id ) { $ sql = 'SELECT category_id FROM category WHERE category_group_id=?' ; $ result = $ this -> db -> fetchColumn ( $ sql , array ( $ category_group_id ) ) ; return empty ( $ result ) ; }
docstring: Whether a category group can be deleted
  @param integer $category_group_id
  @return boolean
docstring_tokens: Whether a category group can be deleted