def METHOD_NAME(self, key):
    if key is None:
        return None
    query = self.db.AQLQuery(
        "RETURN DOCUMENT(@@collection, @key).task",
        rawResults=True,
        bindVars={
            "@collection": self.collection,
            "key": key,
        },
    )
    return next(query) if len(query) > 0 else None