docstr: Returns whether the handler allows requests from origins outside
  of the host URL.
  
  Args:
      origin (:obj"`bool`): a boolean that indicates whether requests
          outside of the host URL should be accepted. If :obj:`True`, request
          URLs will not be validated and all requests will be allowed.
          Defaults to :obj:`False`.
docstr_tok: ["Returns","whether","the","handler","allows","requests","from","origins","outside","of","the","host","URL",".","Args",":","origin","(",":","obj","''","`","bool","`",")",":","a","boolean","that","indicates","whether","requests","outside","of","the","host","URL","should","be","accepted",".","If",":","obj",":","`","True","`",",","request","URLs","will","not","be","validated","and","all","requests","will","be","allowed",".","Defaults","to",":","obj",":","`","False","`","."]
code: def check_origin(self, origin):
      """Returns whether the handler allows requests from origins outside
      of the host URL.
  
      Args:
          origin (:obj"`bool`): a boolean that indicates whether requests
              outside of the host URL should be accepted. If :obj:`True`, request
              URLs will not be validated and all requests will be allowed.
              Defaults to :obj:`False`.
      """
      return self._check_origin
  
file_path: perspective/python/perspective/perspective/handlers/common.py
imports: import asyncio
  from abc import ABC, abstractmethod
  import functools
  from ..core.exception import PerspectiveError
label_desc: Use image node_id 2 for calling the PerspectiveHandlerBase obj's underlying member method code with example usage: obj.check_origin(origin) and returns: self