private function shouldInstallDemoContent() {
    if (!array_key_exists('presto_ecommerce_install_demo_content', $this->installState)) {
      return FALSE;
    }
    $create = (bool) $this->installState['presto_ecommerce_install_demo_content'];
    return $this->shouldInstallModules() && $create;
  }
private function shouldInstallDemoContent() {
    if (!array_key_exists('presto_ecommerce_install_demo_content', $this->installState)) {
      return FALSE;
    }
    $create = (bool) $this->installState['presto_ecommerce_install_demo_content'];
    return $this->shouldInstallModules() && $create;
  }
private function shouldInstallDemoContent ( ) { if ( ! array_key_exists ( 'presto_ecommerce_install_demo_content' , $ this -> installState ) ) { return FALSE ; } $ create = ( bool ) $ this -> installState [ 'presto_ecommerce_install_demo_content' ] ; return $ this -> shouldInstallModules ( ) && $ create ; }
Check if we should create demo content too.

@return bool
TRUE if allowed, FALSE otherwise.
Check if we should create demo content too .