Falsy function doesn't seem to work

The following rule doesn’t trigger a validation error:
no-license:
description: “No licence allowed”
given: “$.info”
severity: error
then:
field: license
function: falsy

Tested with the following spec:
openapi: 3.0.3
info:
title: Test
version: 1.0.0
description: Description
license:
name: My license
url: https://www.test.com/legal
paths:
/test:
get:
summary: Test get
description: Description
responses:

Is the rule definition correct? Thank you