original_docstring:  if this alias has an expiry (ttl), has it reached the end of it's lifetime
              :return: boolean
          
docstring: if this alias has an expiry (ttl), has it reached the end of it's lifetime
docstring_tokens: if this alias has an expiry ( ttl ) has it reached the end of it ' s lifetime
code: def expired(self):
          """ if this alias has an expiry (ttl), has it reached the end of it's lifetime
              :return: boolean
          """
          if self._has_expired is None:
              if self._ttl > 0 and os.path.isfile(self._filename_alias_hash):
                  fstat = os.stat(self._filename_alias_hash)
                  self._has_expired = time.time() - fstat.st_mtime > self._ttl
              else:
                  self._has_expired = False
          return self._has_expired
code_tokens: def expired ( self ) : if self . _has_expired is None : if self . _ttl > 0 and os . path . isfile ( self . _filename_alias_hash ) : fstat = os . stat ( self . _filename_alias_hash ) self . _has_expired = time . time ( ) - fstat . st_mtime > self . _ttl else : self . _has_expired = False return self . _has_expired
short_docstring: if this alias has an expiry (ttl), has it reached the end of it's lifetime
short_docstring_tokens: if this alias has an expiry ( ttl ) has it reached the end of it ' s lifetime
comment: """ if this alias has an expiry (ttl), has it reached the end of it's lifetime
              :return: boolean
          """