public function has_result($bucket = self::DEFAULT_BUCKET)
	{
		// check for additional results
		$this->post_results($bucket);

		return (!empty($this->results[$bucket]));
	}
public function has_result($bucket = self::DEFAULT_BUCKET)
	{
		// check for additional results
		$this->post_results($bucket);

		return (!empty($this->results[$bucket]));
	}
public function has_result ( $ bucket = self :: DEFAULT_BUCKET ) { // check for additional results $ this -> post_results ( $ bucket ) ; return ( ! empty ( $ this -> results [ $ bucket ] ) ) ; }
Checks if there is a result on the bucket.  Before checking,
runs a non-blocking poll of the children for updated results.

@param string $bucket The bucket to check.
@return int Returns true if there is a result
Checks if there is a result on the bucket . Before checking runs a non - blocking poll of the children for updated results .