original_string: 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;
    }
code: 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;
    }
code_tokens: 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 ; }
docstring: Check if we should create demo content too.
  
  @return bool
  TRUE if allowed, FALSE otherwise.
docstring_tokens: Check if we should create demo content too .