Added optimizer for is_resource