function check_related_event(){
     ajx_current("empty");
     //I find all those related to the task to find out if the original
     $event_related = ProjectEvents::findByRelated(array_var($_REQUEST, 'related_id'));
     if(!$event_related){
         $event_related = ProjectEvents::findById(array_var($_REQUEST, 'related_id'));
         //is not the original as the original look plus other related
         if($event_related->getOriginalEventId() != "0"){
             ajx_extra_data(array("status" => true));
         }else{
             ajx_extra_data(array("status" => false));
         }                
     }else{
         ajx_extra_data(array("status" => true));
     }
 }