supports method

supports

Returns true if a given token is in the associated attribute’s supported tokens.

Returns

A Boolean indicating whether the token was found.

def supports(self, token):
    ...
ParameterTypeDescription
tokenstrThe token to query for.

See Also