cf.Domain.has¶
-
Domain.
has
(key)[source]¶ True if the domain has the given internal identifier.
Parameters: - key : str
An internal identifier.
Returns: - out : bool
Whether or not the domain has the internal identifier.
Examples: >>> d.items().keys() ['dim0', 'aux0', 'aux1', 'ref0'] >>> d.has('dim0') True >>> d.has('aux2') False