def METHOD_NAME(self) -> JSONTimeouts:
    timeouts: JSONTimeouts = {}
    if self._implicit_wait:
        timeouts["implicit"] = self._implicit_wait
    if self._page_load:
        timeouts["pageLoad"] = self._page_load
    if self._script:
        timeouts["script"] = self._script
    return timeouts