original_string: public function delete($username): bool
      {
          $user = $this->load($username);
  
          $exists = $user->exists();
          if ($exists) {
              $user->delete();
          }
  
          return $exists;
      }
code: public function delete($username): bool
      {
          $user = $this->load($username);
  
          $exists = $user->exists();
          if ($exists) {
              $user->delete();
          }
  
          return $exists;
      }
code_tokens: public function delete ( $ username ) : bool { $ user = $ this -> load ( $ username ) ; $ exists = $ user -> exists ( ) ; if ( $ exists ) { $ user -> delete ( ) ; } return $ exists ; }
docstring: Delete user account.
  
  @param string $username
  
  @return bool True if user account was found and was deleted.
docstring_tokens: Delete user account .