Parsed: 111456

function is_theme_paused( $theme ) {
  if ( ! isset( $GLOBALS['_paused_themes'] ) ) {
    return false;
  }

  if ( get_stylesheet() !== $theme && get_template() !== $theme ) {
    return false;
  }

  return array_key_exists( $theme, $GLOBALS['_paused_themes'] );
}