<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def user_parser(user):
 """ Parses a user object """

    if __is_deleted(user):
        return deleted_parser(user)

    if user['id'] in item_types:
        raise Exception('Not a user name')
    if type(user['id']) == int:
        raise Exception('Not a user name')

    return User(
        user['id'],
        user['delay'],
        user['created'],
        user['karma'],
        user['about'],
        user['submitted'],
    )