public function isInFormRefLibs($formName)
    {
        if ($this->formRefLibs) {
            $this->formRefLibs->rewind();
            while ($this->formRefLibs->valid()) {
                $reference = $this->formRefLibs->current();
                if ($reference->objectName == $formName) {
                    return true;
                }
                $this->formRefLibs->next();
            }
            return false;
        } else {
            return true;
        }
    }
public function isInFormRefLibs($formName)
    {
        if ($this->formRefLibs) {
            $this->formRefLibs->rewind();
            while ($this->formRefLibs->valid()) {
                $reference = $this->formRefLibs->current();
                if ($reference->objectName == $formName) {
                    return true;
                }
                $this->formRefLibs->next();
            }
            return false;
        } else {
            return true;
        }
    }
public function isInFormRefLibs ( $ formName ) { if ( $ this -> formRefLibs ) { $ this -> formRefLibs -> rewind ( ) ; while ( $ this -> formRefLibs -> valid ( ) ) { $ reference = $ this -> formRefLibs -> current ( ) ; if ( $ reference -> objectName == $ formName ) { return true ; } $ this -> formRefLibs -> next ( ) ; } return false ; } else { return true ; } }
Check the Form is in the lib

@param string $formName form name
@return bool inside or not
Check the Form is in the lib