code: public function hasStatusedElement(StatusInterface $status)
      {
          $qa = $this->createAggregationQuery();
          $qa->match(array('status._id' => new \MongoId($status->getId())));
  
          return 0 !== $this->countDocumentAggregateQuery($qa);
      }
docs: @param StatusInterface $status
  
  @return bool