/**
  * Checks to see if there are any permissions in the page's args for the given action.
  * If so, it evaluates them.  If not returns true.
  * @returns boolean
  */
 protected function checkActionPermission($action)
 {
     if (!($primaryFormName = $this->getPrimaryFormName())) {
         return false;
         //weirdness.  should just stop whatever is happening
     }
     if (!parent::checkActionPermission($action)) {
         return false;
     }
     $listConfig = $this->getListConfig();
     if (array_key_exists('edit_task', $listConfig) && $listConfig['edit_task']) {
         return $this->hasPermission("task(" . $listConfig['edit_task'] . ")");
     } else {
         return true;
     }
 }