Water 5-Syntax and Fundamentals-Variable: Local and Field
method has
object has a field key of the given object
Contract
Return typewob
Parameter keyDefault valueType
keyreq
lookupfalseboolean
Water Contract
<method has
  key   =req
  lookup=false/>
Returns true if _subject has a field with key key . If lookup is true (the default is false), then it will also return true if any of the ancestors of _subject has a field with the given key, otherwise returns false . If _subject is fluid then the lookup arg is ignored and the first binding of the key in the fluids is returned. If there is no subject, has looks up the key in the local environment. In that case, the value of lookup is immaterial. It always checks all frames of the current local environment.