code: def check_base(path, base, os_sep=os.sep):
      '''
      Check if given absolute path is under or given base.
  
      :param path: absolute path
      :type path: str
      :param base: absolute base path
      :type base: str
      :param os_sep: path separator, defaults to os.sep
      :return: wether path is under given base or not
      :rtype: bool
      '''
      return (
          check_path(path, base, os_sep) or
          check_under_base(path, base, os_sep)
          f check_base(path, base, os_sep=os.sep):
      '''
      Check if given absolute path is under or given base.
  
      :param path: absolute path
      :type path: str
      :param base: absolute base path
      :type base: str
      :param os_sep: path separator, defaults to os.sep
      :return: wether path is under given base or not
      :rtype: bool
      '''
      return (
          check_path(path, base, os_sep) or
          check_under_base(path, base, os_sep)
          )
docs: Check if given absolute path is under or given base.
  
      :param path: absolute path
      :type path: str
      :param base: absolute base path
      :type base: str
      :param os_sep: path separator, defaults to os.sep
      :return: wether path is under given base or not
      :rtype: bool