app/code/community/Adyen/Payment/Block/Adminhtml/System/Config/Fieldset/Expanded.php
protected function _getCollapseState($element)
    {
        $extra = Mage::getSingleton('admin/session')->getUser()->getExtra();
        if (isset($extra['configState'][$element->getId()])) {
            return $extra['configState'][$element->getId()];
        }

        return true;
    }
protected function _getCollapseState($element)
    {
        $extra = Mage::getSingleton('admin/session')->getUser()->getExtra();
        if (isset($extra['configState'][$element->getId()])) {
            return $extra['configState'][$element->getId()];
        }

        return true;
    }
protected function _getCollapseState ( $ element ) { $ extra = Mage :: getSingleton ( 'admin/session' ) -> getUser ( ) -> getExtra ( ) ; if ( isset ( $ extra [ 'configState' ] [ $ element -> getId ( ) ] ) ) { return $ extra [ 'configState' ] [ $ element -> getId ( ) ] ; } return true ; }
Return collapse state

@param Varien_Data_Form_Element_Abstract $element
@return bool
Return collapse state