public function storeIsActive($storeViewCode)
    {

        // query whether or not, the requested store is available
        if (isset($this->stores[$storeViewCode])) {
            return 1 === (integer) $this->stores[$storeViewCode][MemberNames::IS_ACTIVE];
        }

        // throw an exception, if not
        throw new \Exception(
            $this->appendExceptionSuffix(
                sprintf('Found invalid store view code %s', $storeViewCode)
            )
        );
    }
public function storeIsActive($storeViewCode)
    {

        // query whether or not, the requested store is available
        if (isset($this->stores[$storeViewCode])) {
            return 1 === (integer) $this->stores[$storeViewCode][MemberNames::IS_ACTIVE];
        }

        // throw an exception, if not
        throw new \Exception(
            $this->appendExceptionSuffix(
                sprintf('Found invalid store view code %s', $storeViewCode)
            )
        );
    }
public function storeIsActive ( $ storeViewCode ) { // query whether or not, the requested store is available if ( isset ( $ this -> stores [ $ storeViewCode ] ) ) { return 1 === ( integer ) $ this -> stores [ $ storeViewCode ] [ MemberNames :: IS_ACTIVE ] ; } // throw an exception, if not throw new \ Exception ( $ this -> appendExceptionSuffix ( sprintf ( 'Found invalid store view code %s' , $ storeViewCode ) ) ) ; }
Return's TRUE if the store with the passed code is active, else FALSE.

@param string $storeViewCode The store view code of the store to check for the active flag set to 1

@return boolean TRUE if the store is active, else FALSE
@throws \Exception Is thrown, if the store with the actual code is not available
Return s TRUE if the store with the passed code is active else FALSE .