original_string: protected function _actionIsEnabled($action)
      {
          $actions = $this->type['actions'];
  
          if (array_key_exists($action, $actions)) {
              return $actions[$action];
          }
          return true;
      }
code: protected function _actionIsEnabled($action)
      {
          $actions = $this->type['actions'];
  
          if (array_key_exists($action, $actions)) {
              return $actions[$action];
          }
          return true;
      }
code_tokens: protected function _actionIsEnabled ( $ action ) { $ actions = $ this -> type [ 'actions' ] ; if ( array_key_exists ( $ action , $ actions ) ) { return $ actions [ $ action ] ; } return true ; }
docstring: Checks if the action is enabled.
  
  @param string $action Chosen action to check on.
  @return bool
docstring_tokens: Checks if the action is enabled .