public function hasMeta($key)
    {
        $meta = $this->meta()->where('key', $key)->get();

        return (bool) count($meta);
    }
public function hasMeta($key)
    {
        $meta = $this->meta()->where('key', $key)->get();

        return (bool) count($meta);
    }
public function hasMeta ( $ key ) { $ meta = $ this -> meta ( ) -> where ( 'key' , $ key ) -> get ( ) ; return ( bool ) count ( $ meta ) ; }
Has meta.

@param  string $key
@return bool
Has meta .