function Query($section, $name, $user_id = NULL, $company_id = NULL)
 {
     Debug::Text('Permission Query!', __FILE__, __LINE__, __METHOD__, 9);
     if ($user_id == NULL or $user_id == '') {
         global $current_user;
         if (is_object($current_user)) {
             $user_id = $current_user->getId();
         } else {
             return FALSE;
         }
     }
     if ($company_id == NULL or $company_id == '') {
         global $current_company;
         $company_id = $current_company->getId();
     }
     $plf = new PermissionListFactory();
     return $plf->getBySectionAndNameAndUserIdAndCompanyId($section, $name, $user_id, $company_id)->getCurrent();
 }