public function getPreconditions($includeWebPreconditions = true)
    {
        $result = [];
        foreach ($this->getAllPreconditions() as $instance) {
            if (!$instance instanceof OptionsPreconditionInterface) {
                if ($includeWebPreconditions || !$instance instanceof WebPreconditionInterface) {
                    $result[] = $instance;
                }
            }
        }

        return $result;
    }