Add utility method for checking if a compound contains a specific type under a specific key.
add ListTag.size() and ListTag.isEmpty()