code: def check_type(self, zenpy_objects):
          
          expected_type = self.api._object_mapping.class_for_type(self.api.object_type)
          if not isinstance(zenpy_objects, collections.Iterable):
              zenpy_objects = [zenpy_objects]
          for zenpy_object in zenpy_objects:
              if type(zenpy_object) is not expected_type:
                  raise ZenpyException(
                      "Invalid type - expected {} found {}".format(expected_type, type(zenpy_object))
                  )
docs: Ensure the passed type matches this API's object_type.