Features.hasName

Features.hasName(name)

Determine if feature name exists.

Parameters:

names (str) – The name of a feature.

Returns:

bool

Examples

>>> X = nimble.identity(4, featureNames=['a', 'b', 'c', 'd'])
>>> X.features.hasName('a')
True
>>> X.features.hasName('e')
False

Keywords: title, header, heading, named