Block/Customer/Account/Books.php
public function canShowAnything()
    {
        if (! $this->isCustomerSubscriber() || ! $this->helper->isEnabled($this->getCustomer()->getWebsiteId())) {
            return false;
        }

        $showPreferences = $this->getCanShowPreferences();
        $books = $this->getAdditionalBooksToShow();
        $fields = $this->getDataFieldsToShow();
        if ($books || $fields || $showPreferences) {
            if (! empty($books) || ! empty($fields) || $showPreferences) {
                return true;
            }
        }

        return false;
    }
public function canShowAnything()
    {
        if (! $this->isCustomerSubscriber() || ! $this->helper->isEnabled($this->getCustomer()->getWebsiteId())) {
            return false;
        }

        $showPreferences = $this->getCanShowPreferences();
        $books = $this->getAdditionalBooksToShow();
        $fields = $this->getDataFieldsToShow();
        if ($books || $fields || $showPreferences) {
            if (! empty($books) || ! empty($fields) || $showPreferences) {
                return true;
            }
        }

        return false;
    }
public function canShowAnything ( ) { if ( ! $ this -> isCustomerSubscriber ( ) || ! $ this -> helper -> isEnabled ( $ this -> getCustomer ( ) -> getWebsiteId ( ) ) ) { return false ; } $ showPreferences = $ this -> getCanShowPreferences ( ) ; $ books = $ this -> getAdditionalBooksToShow ( ) ; $ fields = $ this -> getDataFieldsToShow ( ) ; if ( $ books || $ fields || $ showPreferences ) { if ( ! empty ( $ books ) || ! empty ( $ fields ) || $ showPreferences ) { return true ; } } return false ; }
Find out if anything is true.

@return bool
Find out if anything is true .