if (ec == null) throw new IllegalStateException("Editing context argument is null for method: entityWithNamedIsShared");
    public static boolean entityWithNamedIsShared(EOEditingContext ec, String entityName) {        if (ec == null)            throw new IllegalStateException("Editing context argument is null for method: entityWithNamedIsShared");        if (entityName == null)            throw new IllegalStateException("Entity name argument is null for method: entityWithNamedIsShared");        EOEntity entity = EOUtilities.entityNamed(ec, entityName);        return entity.sharedObjectFetchSpecificationNames().count() > 0;    }