def LF_fig_name_match(c):
    args = c.get_contexts()
    if (len(args) != 2):
        raise NotImplementedError('Only handles binary candidates currently')
    (product, img) = args
    if (img.name == ''):
        return (- 1)
    else:
        return 0
def LF_fig_name_match(c):
    args = c.get_contexts()
    if (len(args) != 2):
        raise NotImplementedError('Only handles binary candidates currently')
    (product, img) = args
    if (img.name == ):
        return (- 1)
    else:
        return 0