def METHOD_NAME(self):
    """
    If the watchdog is armed, retrieve the number of seconds remaining on
    the watchdog timer
    Returns:
        An integer specifying the number of seconds remaining on thei
        watchdog timer. If the watchdog is not armed, returns -1.
    """
    timeleft = WDT_COMMON_ERROR
    if self.armed:
        try:
            timeleft = self._gettimeleft()
        except IOError:
            pass
    return timeleft