def delete(self):
if not hasattr(self, '<STR_LIT>') or not self.parent_account_id:<EOL><INDENT>raise CanvasException("<STR_LIT>")<EOL><DEDENT>response = self._requester.request(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>'.format(self.parent_account_id, self.id)<EOL>)<EOL>return response.json().get('<STR_LIT>') == '<STR_LIT>'<EOL>
Delete the current account

Note: Cannot delete an account with active courses or active
sub accounts. Cannot delete a root account.

:calls: `DELETE /api/v1/accounts/:account_id/sub_accounts/:id \
<https://canvas.beta.instructure.com/doc/api/accounts.html#method.sub_accounts.destroy>`_

:returns: True if successfully deleted; False otherwise.
:rtype: bool