30.4.5.9 The ps_is_account_enabled() Function
Returns YES
or NO
to
indicate whether Performance Schema instrumentation for a
given account is enabled.
An ENUM('YES','NO')
value.
mysql> SELECT sys.ps_is_account_enabled('localhost', 'root');
+------------------------------------------------+
| sys.ps_is_account_enabled('localhost', 'root') |
+------------------------------------------------+
| YES |
+------------------------------------------------+