public function isHintEnabled()
    {
        $isParamPresent = $this->_request->getParam('ath', false) === '1';

        if ($isParamPresent) {
            $applicationMode = $this->appState->getMode();
            $storeId = $this->storeManager->getStore()->getId();

            if ($applicationMode === AppState::MODE_DEVELOPER || $this->developerHelper->isDevAllowed($storeId)) {
                return true;
            }
        }

        return false;
    }
public function isHintEnabled()
    {
        $isParamPresent = $this->_request->getParam('ath', false) === '1';

        if ($isParamPresent) {
            $applicationMode = $this->appState->getMode();
            $storeId = $this->storeManager->getStore()->getId();

            if ($applicationMode === AppState::MODE_DEVELOPER || $this->developerHelper->isDevAllowed($storeId)) {
                return true;
            }
        }

        return false;
    }
public function isHintEnabled ( ) { $ isParamPresent = $ this -> _request -> getParam ( 'ath' , false ) === '1' ; if ( $ isParamPresent ) { $ applicationMode = $ this -> appState -> getMode ( ) ; $ storeId = $ this -> storeManager -> getStore ( ) -> getId ( ) ; if ( $ applicationMode === AppState :: MODE_DEVELOPER || $ this -> developerHelper -> isDevAllowed ( $ storeId ) ) { return true ; } } return false ; }
Check if the hints can be displayed.

It will check if the url parameter is present.
For production mode it will also check if the IP-address is in Developer Client Restrictions.

@return bool
Check if the hints can be displayed .