/**
  * 
  * @global ilObjUser $ilUser
  * @param type $a_obj_id
  * @param type $a_operator
  * @param type $a_value
  * @param type $a_usr_id
  * @return boolean
  */
 public static function checkCondition($a_obj_id, $a_operator, $a_value, $a_usr_id)
 {
     include_once "./Modules/Course/classes/class.ilCourseParticipants.php";
     include_once './Services/AccessControl/classes/class.ilConditionHandler.php';
     switch ($a_operator) {
         case ilConditionHandler::OPERATOR_PASSED:
             return ilCourseParticipants::_hasPassed($a_obj_id, $a_usr_id);
     }
     return FALSE;
 }
 function _checkCondition($a_obj_id, $a_operator, $a_value, $a_usr_id = 0)
 {
     global $ilUser;
     $a_usr_id = $a_usr_id ? $a_usr_id : $ilUser->getId();
     include_once "./Modules/Course/classes/class.ilCourseParticipants.php";
     switch ($a_operator) {
         case 'passed':
             return ilCourseParticipants::_hasPassed($a_obj_id, $a_usr_id);
         default:
             return true;
     }
 }