/** * @param Post $post * * @return bool */ public function hasComments(Post $post) { return 0 < $post->getCommentCount(); }