ast_exists_extension() does not return an ast_device_state, so change this