original_string: protected function isTimestampValid($time, $now = null)
      {
          if (empty($now)) {
              $now = $this->getCurrentTimestamp();
          }
  
          return $time <= $now
              && $time > $now - 20 * 365 * 86400;
      }
code: protected function isTimestampValid($time, $now = null)
      {
          if (empty($now)) {
              $now = $this->getCurrentTimestamp();
          }
  
          return $time <= $now
              && $time > $now - 20 * 365 * 86400;
      }
code_tokens: protected function isTimestampValid ( $ time , $ now = null ) { if ( empty ( $ now ) ) { $ now = $ this -> getCurrentTimestamp ( ) ; } return $ time <= $ now && $ time > $ now - 20 * 365 * 86400 ; }
docstring: Returns true if the timestamp is valid ie. timestamp is sometime in the last 10 years and is not in the future.
  
  @param $time int Timestamp to test
  @param $now int Current timestamp
  @return bool
docstring_tokens: Returns true if the timestamp is valid ie . timestamp is sometime in the last 10 years and is not in the future .