def isFileProcessed(session, db_name, filepath):
    if db_name == global_config['db_name']:
        is_processed = DataModel.isFileProcessed(session, filepath)
    elif db_name == global_config['issues_db_name']:
        is_processed = IssueTrackerDataModel.isFileProcessed(session, filepath)
    elif db_name == global_config['debriefs_db_name']:
        is_processed = DebriefDataModel.isFileProcessed(session, filepath)
        
    return is_processed
def isFileProcessed(global_config, session, db_name, filepath):
    if db_name == (global_config["db_name"] + global_config["this_season"]):
        is_processed = DataModel.isFileProcessed(session, filepath)
    elif db_name == (global_config["issues_db_name"] + global_config["this_season"]):
        is_processed = IssueTrackerDataModel.isFileProcessed(session, filepath)
    elif db_name == (global_config["debriefs_db_name"] + global_config["this_season"]):
        is_processed = DebriefDataModel.isFileProcessed(session, filepath)

    return is_processed