code: private static boolean isAnnotated(Feature feature)
      {
          for (final Class<?> current : feature.getClass().getInterfaces())
          {
              if (current.isAnnotationPresent(FeatureInterface.class))
              {
                  return true;
              }
          }
          return feature.getClass().isAnnotationPresent(FeatureInterface.class);
      }
docs: Check if feature is annotated in its direct parents.
  
  @param feature The feature to check.
  @return <code>true</code> if annotated, <code>false</code> else.