code: def _clean_key_expiration_option(self):
          
          allowed_entry = re.findall('^(\d+)(|w|m|y)$', self._expiration_time)
          if not allowed_entry:
              raise UsageError("Key expiration option: %s is not valid" % self._expiration_time)
docs: validates the expiration option supplied