Checks whether or not the method is idempotent.
public function isMethodIdempotent() : bool { return \in_array($this->getMethod(), [ 'HEAD', 'GET', 'PUT', 'DELETE', 'TRACE', 'OPTIONS', 'PURGE', ]); }