def searchObject(self, object):

        if not issubclass(type(object), Identifiable):
            return None

        id = object.id
        if self.id == id:
            return self

        searchResult = searchListObject(object, self.files)
        return searchResult
    def searchObject(self, object):

        if not issubclass(type(object), Identifiable):
            return None

        id = object.id
        if self.id == id:
            return self

        members = [self._file, self._snapshot, self._index, self._viewpoint]

        searchResult = searchListObject(object, members)
        return searchResult
    def searchObject(self, object):

        if not issubclass(type(object), Identifiable):
            return None

        id = object.id
        if self.id == id:
            return self

        members = [self.header, self.topic]
        searchResult = searchListObject(object, members)
        if searchResult is not None:
            return searchResult

        searchResult = searchListObject(object, self.comments)
        if searchResult is not None:
            return searchResult

        searchResult = searchListObject(object, self.viewpoints)
        if searchResult is not None:
            return searchResult

        return None
    def searchObject(self, object):

        if not issubclass(type(object), Identifiable):
            return None

        id = object.id
        if self.id == id:
            return self

        members = [
            self._comment, self.viewpoint, self._date, self._author,
            self._modDate, self._modAuthor
        ]
        searchResult = searchListObject(object, members)

        return searchResult
    def searchObject(self, object):

        if not issubclass(type(object), Identifiable):
            return None

        id = object.id
        if self.id == id:
            return self

        members = [
            self._ifcProjectId, self._ifcSpatialStructureElement,
            self._external, self._filename, self._time, self._reference
        ]
        searchResult = searchListObject(object,
                                        members)  # imported from project
        return searchResult