public function isEnabled() {
        $status = $this->_scopeConfig->getValue('payment/pagseguro/installments');
        return (! is_null($status) && $status == 1) ? true : false;
    }
public function isEnabled() {
        $status = $this->_scopeConfig->getValue('payment/pagseguro/installments');
        return (! is_null($status) && $status == 1) ? true : false;
    }
public function isEnabled ( ) { $ status = $ this -> _scopeConfig -> getValue ( 'payment/pagseguro/installments' ) ; return ( ! is_null ( $ status ) && $ status == 1 ) ? true : false ; }
Validate if the PagSeguro installments list in the product view is enabled
@return bool
Validate if the PagSeguro installments list in the product view is enabled