public function filled($key): bool
    {
        return $this->has($key) && !empty($this->get($key));
    }
public function filled($key): bool
    {
        return $this->has($key) && !empty($this->get($key));
    }
public function filled ( $ key ) : bool { return $ this -> has ( $ key ) && ! empty ( $ this -> get ( $ key ) ) ; }
Determine if an input is present and not empty within the query or post bags.

@param string $key The key to check for.
@return bool
Determine if an input is present and not empty within the query or post bags .