import json


def value_for_cypher(value):
    """
    returns the value in cypher form

    Parameters
    ----------
    value : str, list, or boolean
       
    Returns
    -------
    v : str
        a string formatted for cypher
    """
    if isinstance(value, str):
        return "'{}'".format(value)
    if isinstance(value, list):
        return json.dumps(value)
    else:
        v = "{}".format(value)
        if isinstance(value, bool):
            v = v.lower()
        return v