/**
  * Checks if comment is in given state.
  *
  * @param CommentInterface $comment
  * @param int              $state   CommentInterface::STATE_*
  *
  * @return bool
  */
 public function isCommentInState(CommentInterface $comment, $state)
 {
     return $comment->getState() === $state;
 }