original_string: public function isAvailable(Media $media, \DateTime $time)
      {
          return $this->between($time, $media->getAvailableDate(), $media->getExpirationDate());
      }
code: public function isAvailable(Media $media, \DateTime $time)
      {
          return $this->between($time, $media->getAvailableDate(), $media->getExpirationDate());
      }
code_tokens: public function isAvailable ( Media $ media , \ DateTime $ time ) { return $ this -> between ( $ time , $ media -> getAvailableDate ( ) , $ media -> getExpirationDate ( ) ) ; }
docstring: Return if the media is available as of the given time.
  
  @param Media $media
  @param       $time
  
  @return bool
docstring_tokens: Return if the media is available as of the given time .