original_string: public function has_any(array $keys) {
          $maxtime = 0;
          if ($this->ttl != 0) {
              $maxtime = cache::now() - $this->ttl;
          }
  
          foreach ($keys as $key) {
              if (isset($this->store[$key]) && ($this->ttl == 0 || $this->store[$key][1] >= $maxtime)) {
                  return true;
              }
          }
          return false;
      }
code: public function has_any(array $keys) {
          $maxtime = 0;
          if ($this->ttl != 0) {
              $maxtime = cache::now() - $this->ttl;
          }
  
          foreach ($keys as $key) {
              if (isset($this->store[$key]) && ($this->ttl == 0 || $this->store[$key][1] >= $maxtime)) {
                  return true;
              }
          }
          return false;
      }
code_tokens: public function has_any ( array $ keys ) { $ maxtime = 0 ; if ( $ this -> ttl != 0 ) { $ maxtime = cache :: now ( ) - $ this -> ttl ; } foreach ( $ keys as $ key ) { if ( isset ( $ this -> store [ $ key ] ) && ( $ this -> ttl == 0 || $ this -> store [ $ key ] [ 1 ] >= $ maxtime ) ) { return true ; } } return false ; }
docstring: Returns true if the store contains records for any of the given keys.
  
  @param array $keys
  @return bool
docstring_tokens: Returns true if the store contains records for any of the given keys .