code: def SensorsTriggersGet(self, sensor_id, trigger_id = -1):
          
          if trigger_id == -1:
              url = '/sensors/{0}/triggers.json'.format(sensor_id)
          else:
              url = '/sensors/{0}/triggers/{1}.json'.format(sensor_id, trigger_id)
  
          if self.__SenseApiCall__(url, 'GET'):
              return True
          else:
              self.__error__ = "api call unsuccessful"
              return False
docs: Obtain either all triggers connected to a sensor, or the details of a specific trigger connected to a sensor.
              If successful, result can be obtained from getResponse(), and should be a json string.
              
              @param sensor_id (int) - Sensor id of the sensor to retrieve triggers from.
              @param trigger_id (int) (optional) - Trigger id of the trigger to retrieve details from.
              
              @return (bool) - Boolean indicating whether SensorsTriggersGet was successful.