from pathlib import Path


def account_exists(account_id='jodel_account'):
    """Checks whether an account has already been created."""
    if Path('./' + account_id + '.pkl').is_file():
        return True
    else:
        return False