import string


def is_curie(value):
    """Return True iff the value is an OBO-id CURIE like EFO:000001"""
    return (
        value.count(":")
        and all(len(part) > 0 for part in value.split(":"))
        and all(c in string.digits for c in value.split(":")[1])
    )