return section.getSite().getExecutionCourse().equals(executionCourse);
ExecutionCourseSite site = (ExecutionCourseSite) section.getSite(); return site.getExecutionCourse().equals(executionCourse);
    private boolean sectionBelongsExecutionCourse(IUserView id, Object[] argumentos) {        InfoExecutionCourse infoExecutionCourse = null;        ExecutionCourse executionCourse = null;        Section section = null;        InfoSection infoSection = null;        if (argumentos == null) {            return false;        }        try {            if (argumentos[0] instanceof InfoExecutionCourse) {                infoExecutionCourse = (InfoExecutionCourse) argumentos[0];                executionCourse = rootDomainObject.readExecutionCourseByOID(                        infoExecutionCourse.getIdInternal());            } else {                executionCourse = rootDomainObject.readExecutionCourseByOID(                        (Integer) argumentos[0]);            }            if (argumentos[1] == null) {                return true;            }            if (argumentos[1] instanceof InfoSection) {                infoSection = (InfoSection) argumentos[1];                section = rootDomainObject.readSectionByOID(infoSection.getIdInternal());            } else {                section = rootDomainObject.readSectionByOID((Integer) argumentos[1]);            }        } catch (Exception e) {            return false;        }        if (section == null) {            return false;        }        return section.getSite().getExecutionCourse().equals(executionCourse);    }