public function wrapIsEnabled()
    {
        if ($this->getAttribute('cols')) {
            $wrap = $this->getAttribute('wrap');
            if (($wrap === 'physical') || ($wrap === 'hard')) {
                return true;
            }
        }

        return false;
    }
public function wrapIsEnabled()
    {
        if ($this->getAttribute('cols')) {
            $wrap = $this->getAttribute('wrap');
            if (($wrap === 'physical') || ($wrap === 'hard')) {
                return true;
            }
        }

        return false;
    }
public function wrapIsEnabled ( ) { if ( $ this -> getAttribute ( 'cols' ) ) { $ wrap = $ this -> getAttribute ( 'wrap' ) ; if ( ( $ wrap === 'physical' ) || ( $ wrap === 'hard' ) ) { return true ; } } return false ; }
Test to see if text should be wrapped.

@return bool        True if wrapping on.
Test to see if text should be wrapped .