original_string: public function isExpired()
      {
          $date = $this->getValidUntil();
  
          if ($date instanceof \MUtil_Date) {
              return $date->isEarlierOrEqual(time());
          }
  
          return false;
      }
code: public function isExpired()
      {
          $date = $this->getValidUntil();
  
          if ($date instanceof \MUtil_Date) {
              return $date->isEarlierOrEqual(time());
          }
  
          return false;
      }
code_tokens: public function isExpired ( ) { $ date = $ this -> getValidUntil ( ) ; if ( $ date instanceof \ MUtil_Date ) { return $ date -> isEarlierOrEqual ( time ( ) ) ; } return false ; }
docstring: True when the valid until is set and is in the past
  @return boolean
docstring_tokens: True when the valid until is set and is in the past