code: def get_first_key_from_value(self, value):
          
  
          for key, data in self.iteritems():
              if data == value:
                  return key
docs: Gets the first key from given value.
  
          :param value: Value.
          :type value: object
          :return: Key.
          :rtype: object