Function Reference/wp style is
Determine if a style has been registered, queued, printed, or is waiting to be printed.
<?php wp_style_is( $handle, $list = 'queue' ); ?>
- (string) (required) Name of the style. Lowercase string.
- Default: None
- (string) (optional) The list to query. One of 'registered' (style was registered through wp_register_style()), 'queue' (style was enqueued), 'done' (style has been printed), or 'to_do' (style has not yet been printed)
- Default: queue
- True or false.
wp_style_is() is located in
wp_register_style(), wp_enqueue_style(), wp_deregister_script(),