def check(self):
if self.closed:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>self._maybeReset()<EOL>if self.url is None:<EOL><INDENT>return False<EOL><DEDENT>return self._maybeCheck()<EOL>
Check the state of HTTP