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