public function has($key): bool
    {
        static $UN_FOUND = null;

        if ($UN_FOUND === null) {
            // Generate unique string to use as marker.
            $UN_FOUND = \uniqid('arrayy', true);
        }

        return $this->get($key, $UN_FOUND) !== $UN_FOUND;
    }
public function has($key): bool
    {
        static $UN_FOUND = null;

        if ($UN_FOUND === null) {
            // Generate unique string to use as marker.
            $UN_FOUND = \uniqid('arrayy', true);
        }

        return $this->get($key, $UN_FOUND) !== $UN_FOUND;
    }
public function has ( $ key ) : bool { static $ UN_FOUND = null ; if ( $ UN_FOUND === null ) { // Generate unique string to use as marker. $ UN_FOUND = \ uniqid ( 'arrayy' , true ) ; } return $ this -> get ( $ key , $ UN_FOUND ) !== $ UN_FOUND ; }
Check if an array has a given key.

@param mixed $key

@return bool
Check if an array has a given key .