'Check whether a username is available for registration.'

@json_validate(user=VUname(('user',)))
@api_doc(api_section.users)
def GET_username_available(self, responder, user):

    if (not responder.has_errors('user', errors.BAD_USERNAME)):
        return bool(user)
