public function existsEntry($blogContentId, $year, $month) { if ($this->find('first', ['fields' => ['BlogPost.id'], 'conditions' => $this->_getEntryDatesConditions($blogContentId, $year, $month), 'recursive' => -1, 'cache' => false])) { return true; } else { return false; } }