map:contains( $map as map:map, $key as xs:string ) as xs:boolean
Returns true if the key exists in the map.
map:contains($table, "some-key") => fn:true()