Yes. During chocolate making, the fibrous husk that surrounds each bean is removed through a process of breaking the bean into pieces, separating the husk from the bean, and then winnowing away the lighter husk from the heavier nibs by use of vacuums or high-pressure fans. The pieces of bean created during winnowing are called cocoa nibs. (The nibs are often ground up before being used to make chocolate, the result being called cocoa mass or cocoa liquor.) It is the nibs that contain the caffeine found in chocolate. The more nibs (or cocoa mass/cocoa liquor) used to make a piece of chocolate, the more caffeine it will contain.