Python3Script Xojo Plugin |

# Python3Dictionary.Contains Method (console safe)

Checks if the dictionary has a element with a given key

Contains(
key as Python3EntityBase) as Boolean

#### Parameters

key
  The key to check for. This key must be of Python type that is hash-able.

#### Returns

Boolean
  True if the element with the given exists in the dictionary, else false.

#### Remarks

This method can throw Python3Exception.

#### See Also

Python3Dictionary Class