hasAttachment

fun hasAttachment(player: Player, type: AttachmentType<*>): Boolean