Swat/SwatForm.php
public function isSubmitted()
    {
        $raw_data = $this->getFormData();

        return isset($raw_data[self::PROCESS_FIELD]) &&
            $raw_data[self::PROCESS_FIELD] == $this->id;
    }
public function isSubmitted()
    {
        $raw_data = $this->getFormData();

        return isset($raw_data[self::PROCESS_FIELD]) &&
            $raw_data[self::PROCESS_FIELD] == $this->id;
    }
public function isSubmitted ( ) { $ raw_data = $ this -> getFormData ( ) ; return isset ( $ raw_data [ self :: PROCESS_FIELD ] ) && $ raw_data [ self :: PROCESS_FIELD ] == $ this -> id ; }
Whether or not this form was submitted on the previous page request

This method may be called before or after the SwatForm::process() method.
and is thus sometimes more useful than SwatForm::isProcessed() which
only returns a meaningful value after SwatForm::process() is called.

@return boolean true if this form was submitted on the previous page
request and false if it was not.
Whether or not this form was submitted on the previous page request