Cake\Chronos\Translator::exists PHP Method

exists() public method

Check if a translation key exists.
public exists ( string $key ) : boolean
$key string The key to check.
return boolean Whether or not the key exists.
    public function exists($key)
    {
        return isset(static::$strings[$key]);
    }