original_string: public function isConfirmationExpired()
      {
          $ttl = \Config::get('df.confirm_code_ttl', 1440);
          $lastModTime = strtotime($this->last_modified_date);
          $code = $this->confirm_code;
  
          if ('y' !== $code && !is_null($code) && ((time() - $lastModTime) > ($ttl * 60))) {
              return true;
          } else {
              return false;
          }
      }
code: public function isConfirmationExpired()
      {
          $ttl = \Config::get('df.confirm_code_ttl', 1440);
          $lastModTime = strtotime($this->last_modified_date);
          $code = $this->confirm_code;
  
          if ('y' !== $code && !is_null($code) && ((time() - $lastModTime) > ($ttl * 60))) {
              return true;
          } else {
              return false;
          }
      }
code_tokens: public function isConfirmationExpired ( ) { $ ttl = \ Config :: get ( 'df.confirm_code_ttl' , 1440 ) ; $ lastModTime = strtotime ( $ this -> last_modified_date ) ; $ code = $ this -> confirm_code ; if ( 'y' !== $ code && ! is_null ( $ code ) && ( ( time ( ) - $ lastModTime ) > ( $ ttl * 60 ) ) ) { return true ; } else { return false ; } }
docstring: Checks to se if confirmation period is expired.
  
  @return bool
docstring_tokens: Checks to se if confirmation period is expired .