@classmethod
def has_feature(cls, feature: int) ->bool:
    """Flash device feature"""
    try:
        features = cls.FEATURES
    except AttributeError:
        raise NotImplementedError('No FEATURES defined')
    return bool(features & feature)
