<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_reports_page(self, is_enclave=None, enclave_ids=None, tag=None, excluded_tags=None, from_time=None, to_time=None):
 """ Retrieves a page of reports, filtering by time window, distribution type, enclave association, and tag. The results are sorted by updated time. This method does not take ``page_number`` and ``page_size`` parameters. Instead, each successive page must be found by adjusting the ``from_time`` and ``to_time`` parameters. Note: This endpoint will only return reports from a time window of maximum size of 2 weeks. If you give a time window larger than 2 weeks, it will pull reports starting at 2 weeks before the "to" date, through the "to" date. :param boolean is_enclave: restrict reports to specific distribution type (optional - by default all accessible reports are returned). :param list(str) enclave_ids: list of enclave ids used to restrict reports to specific enclaves (optional - by default reports from all of user's enclaves are returned) :param list(str) tag: Name (or list of names) of tag(s) to filter reports by. Only reports containing ALL of these tags will be returned. :param list(str) excluded_tags: Reports containing ANY of these tags will be excluded from the results. :param int from_time: start of time window in milliseconds since epoch (optional) :param int to_time: end of time window in milliseconds since epoch (optional) :return: A |Page| of |Report| objects. """


        distribution_type = None

        # explicitly compare to True and False to distinguish from None (which is treated as False in a conditional)
        if is_enclave:
            distribution_type = DistributionType.ENCLAVE
        elif not is_enclave:
            distribution_type = DistributionType.COMMUNITY

        if enclave_ids is None:
            enclave_ids = self.enclave_ids

        params = {
            'from': from_time,
            'to': to_time,
            'distributionType': distribution_type,
            'enclaveIds': enclave_ids,
            'tags': tag,
            'excludedTags': excluded_tags
        }
        resp = self._client.get("reports", params=params)
        result = Page.from_dict(resp.json(), content_type=Report)

        # create a Page object from the dict
        return result