public KeyValueStoreInterface::has($key)
Returns whether a given key exists in the store.
string $key: The key to check.
bool TRUE if the key exists, FALSE otherwise.
public function has($key);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!KeyValueStore!KeyValueStoreInterface.php/function/KeyValueStoreInterface::has/8.1.x