original_string: public function hasFor($key, \DateTime $date)
      {
          return array_key_exists($this->keyFor($key, $date), $this->data);
      }
code: public function hasFor($key, \DateTime $date)
      {
          return array_key_exists($this->keyFor($key, $date), $this->data);
      }
code_tokens: public function hasFor ( $ key , \ DateTime $ date ) { return array_key_exists ( $ this -> keyFor ( $ key , $ date ) , $ this -> data ) ; }
docstring: Determine if value exists for a given date.
  
  @param string $key Counter key.
  @param \DateTime $date Date.
  @return bool
docstring_tokens: Determine if value exists for a given date .