def METHOD_NAME(config_value):
    """Datasets must be of form "project.dataset" or "dataset"."""
    return re.match(
        # regex matches: project.dataset -- OR -- dataset
        r"^" + RE_PROJECT + r"\." + RE_DS_TABLE + r"$|^" + RE_DS_TABLE + r"$",
        config_value,
    )