hasEnchant

public abstract boolean hasEnchant(Enchantment ench)

Checks for existence of the specified enchantment.

Return

true if this enchantment exists for this meta

Parameters

ench

enchantment to check