code: private boolean hasEntityBeanInterface(String[] interfaces) {
      for (int i = 0; i < interfaces.length; i++) {
        if (interfaces[i].equals(C_ENTITYBEAN)) {
          return true;
        }
      }
      return false;
    }
docs: Return true if this case the EntityBean interface.