public function delete($username): bool
    {
        $user = $this->load($username);

        $exists = $user->exists();
        if ($exists) {
            $user->delete();
        }

        return $exists;
    }
public function delete($username): bool
    {
        $user = $this->load($username);

        $exists = $user->exists();
        if ($exists) {
            $user->delete();
        }

        return $exists;
    }
public function delete ( $ username ) : bool { $ user = $ this -> load ( $ username ) ; $ exists = $ user -> exists ( ) ; if ( $ exists ) { $ user -> delete ( ) ; } return $ exists ; }
Delete user account.

@param string $username

@return bool True if user account was found and was deleted.
Delete user account .