def METHOD_NAME(self, stmt):
    # Check if this is one of the statement types that we can check
    if not isinstance(stmt, (Modification, RegulateAmount,
                             RegulateActivity, Influence)):
        logger.info('Statement type %s not handled' %
                    stmt.__class__.__name__)
        return (None, None, 'STATEMENT_TYPE_NOT_HANDLED')
    subj, obj = stmt.agent_list()
    subj_nodes = self.get_nodes(subj, self.graph)
    obj_nodes = self.get_nodes(obj, self.graph)
    # Statement has object but it's not in the graph
    if obj and not obj_nodes.all_nodes:
        return (None, None, 'OBJECT_NOT_FOUND')
    if subj and not subj_nodes.all_nodes:
        return (None, None, 'SUBJECT_NOT_FOUND')
    return (subj_nodes, obj_nodes, None)