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