@classmethod
    def delete_by_id(cls, oid):
        if oid:
            cls.collection.remove(ObjectId(oid))
Return true if the object is a user-defined generator function.
dataset/ETHPy150Open tevino/mongu/mongu.py/Model.delete_by_id--crossover with--dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/inspect.py/isgeneratorfunction